NativeActivityContext.ScheduleDelegate 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.
Pushes the callback method for an activity into the work item pool.
public System.Activities.ActivityInstance ScheduleDelegate (System.Activities.ActivityDelegate activityDelegate, System.Collections.Generic.IDictionary<string,object> inputParameters, System.Activities.DelegateCompletionCallback onCompleted = default, System.Activities.FaultCallback onFaulted = default);
member this.ScheduleDelegate : System.Activities.ActivityDelegate * System.Collections.Generic.IDictionary<string, obj> * System.Activities.DelegateCompletionCallback * System.Activities.FaultCallback -> System.Activities.ActivityInstance
Public Function ScheduleDelegate (activityDelegate As ActivityDelegate, inputParameters As IDictionary(Of String, Object), Optional onCompleted As DelegateCompletionCallback = Nothing, Optional onFaulted As FaultCallback = Nothing) As ActivityInstance
Parameters
- activityDelegate
- ActivityDelegate
The callback method to which an activity returns when the specified activity action completes.
- inputParameters
- IDictionary<String,Object>
A dictionary list of activity argument names and values.
- onCompleted
- DelegateCompletionCallback
A bookmark that indicates where the parent activity execution resumes upon completion of the ActivityAction.
- onFaulted
- FaultCallback
A bookmark that indicates where the parent activity execution resumes if an error causes the termination of the ActivityAction.
Returns
An instance of an activity.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om