DevForce Help Reference
ExecuteBeforeSet(Object,TriggerItem,Object,VerifierContext) Method


Instance on which the "trigger" occurs
The "event" that is triggering this execution
The proposed value to that will be applied to the TriggerItem should the Verification succeed.
The VerifierContext to be passed to each applicable verifier
Executes all applicable VerifierExecutionModes.OnBeforeSetTriggers verifiers against the specified instance.
Syntax
'Declaration
 
Public Overloads Function ExecuteBeforeSet( _
   ByVal triggerItemInstance As Object, _
   ByVal triggerItem As TriggerItem, _
   ByVal proposedValue As Object, _
   ByVal verifierContext As VerifierContext _
) As VerifierResultCollection
'Usage
 
Dim instance As VerifierEngine
Dim triggerItemInstance As Object
Dim triggerItem As TriggerItem
Dim proposedValue As Object
Dim verifierContext As VerifierContext
Dim value As VerifierResultCollection
 
value = instance.ExecuteBeforeSet(triggerItemInstance, triggerItem, proposedValue, verifierContext)

Parameters

triggerItemInstance
Instance on which the "trigger" occurs
triggerItem
The "event" that is triggering this execution
proposedValue
The proposed value to that will be applied to the TriggerItem should the Verification succeed.
verifierContext
The VerifierContext to be passed to each applicable verifier

Return Value

VerifierResultCollection containing the combined results of all executed verifiers
Remarks
Applicable verifiers are those verifiers with the VerifierExecutionModes.OnBeforeSetTriggers flag set and that have been registered for both the type of the specified instance and the specified TriggerItem.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

VerifierEngine Class
VerifierEngine Members
Overload List

Send Feedback