CompletionCallback<TResult> CompletionCallback<TResult> CompletionCallback<TResult> CompletionCallback<TResult> Delegate

Definition

The method that is called when an activity completes.

generic <typename TResult>
public delegate void CompletionCallback(NativeActivityContext ^ context, ActivityInstance ^ completedInstance, TResult result);
public delegate void CompletionCallback<TResult>(NativeActivityContext context, ActivityInstance completedInstance, TResult result);
type CompletionCallback<'Result> = delegate of NativeActivityContext * ActivityInstance * 'Result -> unit
Public Delegate Sub CompletionCallback(Of TResult)(context As NativeActivityContext, completedInstance As ActivityInstance, result As TResult)

Type Parameters

TResult

The type of the result value.

Parameters

context
NativeActivityContext NativeActivityContext NativeActivityContext NativeActivityContext

The execution environment of the activity.

completedInstance
ActivityInstance ActivityInstance ActivityInstance ActivityInstance

The activity that completed.

result

The TResult value of the activity that completed.

Inheritance
CompletionCallback<TResult>CompletionCallback<TResult>CompletionCallback<TResult>CompletionCallback<TResult>

Extension Methods

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Gets an object that represents the method represented by the specified delegate.

Applies to