Szerkesztés

Megosztás a következőn keresztül:


ActivityDesignerVerb Constructors

Definition

Initializes an instance of an ActivityDesignerVerb.

Overloads

ActivityDesignerVerb(ActivityDesigner, DesignerVerbGroup, String, EventHandler)

Initializes an instance of an ActivityDesignerVerb by using an ActivityDesigner, a DesignerVerbGroup value, a description of the verb, and an EventHandler.

ActivityDesignerVerb(ActivityDesigner, DesignerVerbGroup, String, EventHandler, EventHandler)

Initializes an instance of a ActivityDesignerVerb by using an ActivityDesigner, a DesignerVerbGroup value, a description of the verb, and two EventHandler objects, one to handle menu selection events and the other to handle status updates.

ActivityDesignerVerb(ActivityDesigner, DesignerVerbGroup, String, EventHandler)

Initializes an instance of an ActivityDesignerVerb by using an ActivityDesigner, a DesignerVerbGroup value, a description of the verb, and an EventHandler.

public:
 ActivityDesignerVerb(System::Workflow::ComponentModel::Design::ActivityDesigner ^ activityDesigner, System::Workflow::ComponentModel::Design::DesignerVerbGroup verbGroup, System::String ^ text, EventHandler ^ invokeHandler);
public ActivityDesignerVerb (System.Workflow.ComponentModel.Design.ActivityDesigner activityDesigner, System.Workflow.ComponentModel.Design.DesignerVerbGroup verbGroup, string text, EventHandler invokeHandler);
new System.Workflow.ComponentModel.Design.ActivityDesignerVerb : System.Workflow.ComponentModel.Design.ActivityDesigner * System.Workflow.ComponentModel.Design.DesignerVerbGroup * string * EventHandler -> System.Workflow.ComponentModel.Design.ActivityDesignerVerb
Public Sub New (activityDesigner As ActivityDesigner, verbGroup As DesignerVerbGroup, text As String, invokeHandler As EventHandler)

Parameters

activityDesigner
ActivityDesigner

The ActivityDesigner to associate with the new verb.

verbGroup
DesignerVerbGroup

The DesignerVerbGroup in which the new verb belongs.

text
String

The description of the verb to show on the menu.

invokeHandler
EventHandler

The EventHandler that will handle the menu selection event.

Exceptions

text is empty or a null reference (Nothing in Visual Basic).

-or-

invokeHandler is a null reference (Nothing).

Applies to

ActivityDesignerVerb(ActivityDesigner, DesignerVerbGroup, String, EventHandler, EventHandler)

Initializes an instance of a ActivityDesignerVerb by using an ActivityDesigner, a DesignerVerbGroup value, a description of the verb, and two EventHandler objects, one to handle menu selection events and the other to handle status updates.

public:
 ActivityDesignerVerb(System::Workflow::ComponentModel::Design::ActivityDesigner ^ activityDesigner, System::Workflow::ComponentModel::Design::DesignerVerbGroup verbGroup, System::String ^ text, EventHandler ^ invokeHandler, EventHandler ^ statusHandler);
public ActivityDesignerVerb (System.Workflow.ComponentModel.Design.ActivityDesigner activityDesigner, System.Workflow.ComponentModel.Design.DesignerVerbGroup verbGroup, string text, EventHandler invokeHandler, EventHandler statusHandler);
new System.Workflow.ComponentModel.Design.ActivityDesignerVerb : System.Workflow.ComponentModel.Design.ActivityDesigner * System.Workflow.ComponentModel.Design.DesignerVerbGroup * string * EventHandler * EventHandler -> System.Workflow.ComponentModel.Design.ActivityDesignerVerb
Public Sub New (activityDesigner As ActivityDesigner, verbGroup As DesignerVerbGroup, text As String, invokeHandler As EventHandler, statusHandler As EventHandler)

Parameters

activityDesigner
ActivityDesigner

The ActivityDesigner to associate with the ActivityDesignerVerb.

verbGroup
DesignerVerbGroup

The DesignerVerbGroup in which this ActivityDesignerVerb belongs.

text
String

The description of the verb to show on the menu.

invokeHandler
EventHandler

The event handler that handles the menu selection event.

statusHandler
EventHandler

The event handler that handles status updates.

Applies to