اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


NativeActivityContext.ScheduleDelegate Method

Definition

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

C#
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);

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

منتج الإصدارات
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1