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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για