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

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

When implemented in derived classes, checks if the the event passed in is valid for this implementation.

Namespace: ContentStudio.Document.Subscription.EventHandler
Assembly: CSSubscriptionEventHandler (in CSSubscriptionEventHandler.dll) Version: (

protected abstract bool ValidateEvent(
	int csEvent


Type: SystemInt32
The cs event identifier to validate.

The value of this parameter is the numeric value of the ContentStudioEvents enumeration.

Return Value

Type: Boolean
true if the event passed in is valid for this event handler; otherwise false.

InvalidOperationExceptionThe passed in event is not valid for this implementation

The eventhandler call this method once at the beginning of the event handlig process to ensure that not any invalid event gets processed by this handler.

When this method returns true the event handler throws an InvalidOperationException

See Also