ActivityMetadata.AddImportedDelegate 方法

定义

将指定的委托添加到导入的委托的元数据列表中。Adds the specified delegate to the metadata's list of imported delegates.

重载

AddImportedDelegate(ActivityDelegate)

将指定的委托添加到导入的委托的元数据列表中。Adds the specified delegate to the metadata's list of imported delegates.

AddImportedDelegate(ActivityDelegate, Object)

将指定的委托添加到导入的委托的元数据列表中。Adds the specified delegate to the metadata's list of imported delegates.

AddImportedDelegate(ActivityDelegate)

将指定的委托添加到导入的委托的元数据列表中。Adds the specified delegate to the metadata's list of imported delegates.

public:
 void AddImportedDelegate(System::Activities::ActivityDelegate ^ importedDelegate);
public void AddImportedDelegate (System.Activities.ActivityDelegate importedDelegate);
member this.AddImportedDelegate : System.Activities.ActivityDelegate -> unit
Public Sub AddImportedDelegate (importedDelegate As ActivityDelegate)

参数

importedDelegate
ActivityDelegate

要添加的委托。The delegate to add.

注解

导入的 ActivityDelegate 是父活动未直接调用的 ActivityDelegateAn imported ActivityDelegate is an ActivityDelegate that the parent activity does not invoke directly. 相反,父活动会使用此 ActivityDelegate 配置一些其他子活动。Rather, the parent uses this ActivityDelegate to configure some other child activity.

适用于

AddImportedDelegate(ActivityDelegate, Object)

将指定的委托添加到导入的委托的元数据列表中。Adds the specified delegate to the metadata's list of imported delegates.

public:
 void AddImportedDelegate(System::Activities::ActivityDelegate ^ importedDelegate, System::Object ^ origin);
public void AddImportedDelegate (System.Activities.ActivityDelegate importedDelegate, object origin);
member this.AddImportedDelegate : System.Activities.ActivityDelegate * obj -> unit
Public Sub AddImportedDelegate (importedDelegate As ActivityDelegate, origin As Object)

参数

importedDelegate
ActivityDelegate

要添加的委托。The delegate to add.

origin
Object

源 。The origin.

适用于