IdeaBlade DevForce 2010 Help Reference
TriggerContext Class
Members  See Also  Send Feedback
IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace : TriggerContext Class



Provides the TriggerItem, timing and other information to the verifier during execution.

Object Model

TriggerContext ClassTriggerItem Class

Syntax

Visual Basic (Declaration) 
<DataContractAttribute()>
Public Class TriggerContext 
Visual Basic (Usage)Copy Code
Dim instance As TriggerContext
C# 
[DataContractAttribute()]
public class TriggerContext 
C++/CLI 
[DataContractAttribute()]
public ref class TriggerContext 

Remarks

Verifiers that are called in the context of an Instance verification (see VerifierOptions.ExecutionModes) will have a null TriggerContext. Under all other circumstances the TriggerContext will fully describe the TriggerItem, the TriggerTiming, the instance on which the TriggerItem was executed, and the proposed value if a "BeforeSet" trigger was involved.

Inheritance Hierarchy

System.Object
   IdeaBlade.Validation.TriggerContext

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.