Επεξεργασία

Κοινή χρήση μέσω


NativeActivityMetadata.AddDelegate Method

Definition

Adds the specified delegate to the metadata's list of delegates.

Overloads

AddDelegate(ActivityDelegate)

Adds the specified delegate to the metadata's list of delegates.

AddDelegate(ActivityDelegate, Object)

Adds the specified delegate to the metadata's list of delegates.

AddDelegate(ActivityDelegate)

Adds the specified delegate to the metadata's list of delegates.

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

Parameters

activityDelegate
ActivityDelegate

The delegate to add.

Applies to

AddDelegate(ActivityDelegate, Object)

Adds the specified delegate to the metadata's list of delegates.

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

Parameters

activityDelegate
ActivityDelegate

The delegate to add.

origin
Object

The origin of the delegate.

Applies to