ActivityDesignerVerb 构造函数

定义

初始化 ActivityDesignerVerb 的实例。

重载

ActivityDesignerVerb(ActivityDesigner, DesignerVerbGroup, String, EventHandler)

使用一个 ActivityDesignerVerb、一个 ActivityDesigner 值、一条谓词说明和一个 DesignerVerbGroup 初始化 EventHandler 的实例。

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

使用一个 ActivityDesignerVerb、一个 ActivityDesigner 值、一条谓词说明和两个 DesignerVerbGroup 对象(一个用于处理菜单选择事件,另一个用于处理状态更新)初始化 EventHandler 的实例。

ActivityDesignerVerb(ActivityDesigner, DesignerVerbGroup, String, EventHandler)

使用一个 ActivityDesignerVerb、一个 ActivityDesigner 值、一条谓词说明和一个 DesignerVerbGroup 初始化 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)

参数

activityDesigner
ActivityDesigner

要与新谓词关联的 ActivityDesigner

verbGroup
DesignerVerbGroup

新谓词所属的 DesignerVerbGroup

text
String

要在菜单上显示的谓词说明。

invokeHandler
EventHandler

将处理菜单选择事件的 EventHandler

例外

text 为空或空引用(在 Visual Basic 中为 Nothing)。

- 或 -

invokeHandler 为空引用 (Nothing)。

适用于

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

使用一个 ActivityDesignerVerb、一个 ActivityDesigner 值、一条谓词说明和两个 DesignerVerbGroup 对象(一个用于处理菜单选择事件,另一个用于处理状态更新)初始化 EventHandler 的实例。

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)

参数

activityDesigner
ActivityDesigner

要与 ActivityDesigner 关联的 ActivityDesignerVerb

text
String

要在菜单上显示的谓词说明。

invokeHandler
EventHandler

处理菜单选择事件的事件处理程序。

statusHandler
EventHandler

处理状态更新的事件处理程序。

适用于