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

Definición

Método al que se llama cuando se completa una actividad.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)

Parámetros de tipo

TResult

Tipo del valor de resultado.The type of the result value.

Parámetros

context
NativeActivityContext NativeActivityContext NativeActivityContext NativeActivityContext

Entorno de ejecución de la actividad.The execution environment of the activity.

completedInstance
ActivityInstance ActivityInstance ActivityInstance ActivityInstance

Actividad completada.The activity that completed.

result

Valor de TResult de la actividad completada.The TResult value of the activity that completed.

Herencia
CompletionCallback<TResult>CompletionCallback<TResult>CompletionCallback<TResult>CompletionCallback<TResult>

Métodos de extensión

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

Obtiene un objeto que representa el método representado por el delegado especificado.Gets an object that represents the method represented by the specified delegate.

Se aplica a