OnBeforeExecuteOperation Method (OperationBase)

Top  Previous  Next

This method can be overridden to perform some action before starting the operation.

Signature

[VB.NET]

Sub OnBeforeExecuteOperation(ByVal adminOptions As AdminOptionsBase, ByVal userOptions As UserOptions, ByRef cancel As Boolean)

[C#]

void OnBeforeExecuteOperation(AdminOptionsBase adminOptions, UserOptions userOptions, ref bool cancel)

Parameters

  • adminOptions: the admin options used by the operation, if any.
  • userOptions: the user options used by the operation.
  • cancel: allows the method to cancel the operation if needed.