ActivityDesignerVerb Constructor (ActivityDesigner^, DesignerVerbGroup, String^, EventHandler^)
.NET Framework (current version)
Initializes an instance of an ActivityDesignerVerb by using an ActivityDesigner, a DesignerVerbGroup value, a description of the verb, and an EventHandler.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
public:
ActivityDesignerVerb(
ActivityDesigner^ activityDesigner,
DesignerVerbGroup verbGroup,
String^ text,
EventHandler^ invokeHandler
)
Parameters
- activityDesigner
-
Type:
System.Workflow.ComponentModel.Design::ActivityDesigner^
The ActivityDesigner to associate with the new verb.
- verbGroup
-
Type:
System.Workflow.ComponentModel.Design::DesignerVerbGroup
The DesignerVerbGroup in which the new verb belongs.
- text
-
Type:
System::String^
The description of the verb to show on the menu.
- invokeHandler
-
Type:
System::EventHandler^
The EventHandler that will handle the menu selection event.
| Exception | Condition |
|---|---|
| ArgumentNullException | text is empty or a null reference (Nothing in Visual Basic). -or- invokeHandler is a null reference (Nothing). |
.NET Framework
Available since 3.0
Available since 3.0
Show: