Method CheckTrigger
CheckTrigger(int)
Triggers the trigger with the specified ID.
int CheckTrigger(int iID)
Parameters
iID
intThe ID of the trigger to be executed.
Returns
- int
HRESULT value. A value of 0 (S_OK) indicates the set succeeded.
Examples
int result = protocol.CheckTrigger(100);
Remarks
- This is a wrapper method for the NotifyProtocol type 134 (NT_CHECK_TRIGGER) call.
- If a trigger defines when a trigger should trigger (using the On and Time tags) and the CheckTrigger method is called on this trigger, then the trigger will be invoked regardless of the values specified for the On and Time tags, except when On is set to "parameter" and Time is set to either "timeout" or "timeout after retries".