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.

適用於