OnBeforeExecuteOperationInProject Method (OperationBase)

Top  Previous  Next

This method can be overridden to perform some action before processing a project.

Signature

[VB.NET]

Sub OnBeforeExecuteOperationInProject(ByVal adminOptions As AdminOptionsBase, ByVal userOptions As UserOptions, ByVal project As EnvDTE.Project, ByRef cancel As Boolean)

[C#]

void OnBeforeExecuteOperationInProject(AdminOptionsBase adminOptions, UserOptions userOptions, EnvDTE.Project project, ref bool cancel)

Parameters

  • adminOptions: the admin options used by the operation, if any.
  • userOptions: the user options used by the operation.
  • project: the project that is going to be processed.
  • cancel: allows the method to cancel the operation if needed.