DelegateCompletionCallback 代理人

定義

表示當 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))

參數

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.

備註

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.

擴充方法

GetMethodInfo(Delegate)

取得表示特定委派所代表之方法的物件。Gets an object that represents the method represented by the specified delegate.

適用於