NativeActivityMetadata.AddDelegate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.