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

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

Inits this instance and performs the actual validation operation

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

protected override void Init()
Remarks

You can override this method when there is a need to do you custom initialization before the actual work is done in the DoWork method.

Note Note
Important, if you override this method to do your own intialization, it is important for your code to call this base class implementation before or after that your init process has finished.
Examples

protected override void Init() 
{
   //My initialization code goes here

   //Call the base class' Init method now
   base.Init();
}
See Also

Reference