Bewerken

Share via


DelegateCompletionCallback Delegate

Definition

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

The completed activity instance of the ActivityDelegate handler.

outArguments
IDictionary<String,Object>

The output arguments of the completed ActivityDelegate.

Remarks

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