Edytuj

Udostępnij za pośrednictwem


NativeActivityUpdateContext.ScheduleDelegate Method

Definition

Pushes the callback method for an activity into the work item pool.

public void 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 -> unit
Public Sub ScheduleDelegate (activityDelegate As ActivityDelegate, inputParameters As IDictionary(Of String, Object), Optional onCompleted As DelegateCompletionCallback = Nothing, Optional onFaulted As FaultCallback = Nothing)

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.

Applies to