DelegateCompletionCallback Delegate

Definition

表示在 ActivityDelegate 完成后调用的方法。Represents the method that is called when an ActivityDelegate completes.

public delegate void DelegateCompletionCallback(NativeActivityContext ^ context, ActivityInstance ^ completedInstance, IDictionary<System::String ^, System::Object ^> ^ outArguments);
public delegate void DelegateCompletionCallback(NativeActivityContext context, ActivityInstance completedInstance, IDictionary<string,object> outArguments);
type DelegateCompletionCallback = delegate of NativeActivityContext * ActivityInstance * IDictionary<string, obj> -> unit
Public Delegate Sub DelegateCompletionCallback(context As NativeActivityContext, completedInstance As ActivityInstance, outArguments As IDictionary(Of String, Object))

Parameters

context
NativeActivityContext

处理回调的活动的执行环境。The execution environment of the activity handling the callback.

completedInstance
ActivityInstance

ActivityDelegate 处理程序的已完成活动实例。The completed activity instance of the ActivityDelegate handler.

outArguments
IDictionary<String,Object>

已完成的 ActivityDelegate 的输出自变量。The output arguments of the completed ActivityDelegate.

Inheritance
DelegateCompletionCallback

Remarks

outArguments 字典中的值为 RuntimeDelegateArgumentActivityDelegate 值,这些值是在调用 ActivityDelegate 时分配的,由 RuntimeDelegateArgument.Name 键控。The values in the outArguments dictionary are the RuntimeDelegateArgument values of the ActivityDelegate that are assigned when the ActivityDelegate is invoked, keyed by RuntimeDelegateArgument.Name.

Extension Methods

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

Applies to