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

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

Checks whether the current handler is valid for the OnDocumentSave event.

Namespace: ContentStudio.EventActions.AsynchronousEventHandlers
Assembly: AsynchronousEventHandlers (in AsynchronousEventHandlers.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