DocumentCheckInPolicySyncEventHandlerValidateEvent Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Examines the event that triggered this event handler and returns a value that specifies whether the handler is valid for the event executed.

Namespace: ContentStudio.EventActions.SynchronousEventHandlers
Assembly: SyncEvtHand (in SyncEvtHand.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

protected override bool ValidateEvent(
	int csEvent
)

Parameters

csEvent
Type: SystemInt32
The numeric event identifier of the event executed.

Return Value

Type: Boolean
true if the event is valid for this handler; otherwise, false
Remarks

If this method returns false an InvalidOperationException is thrown and the event handler will be aborted.
See Also

Reference