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

Definizione

Metodo chiamato al termine di un'attività.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)

Parametri di tipo

TResult

Il tipo del valore di risultato.The type of the result value.

Parametri

context
NativeActivityContext NativeActivityContext NativeActivityContext NativeActivityContext

L'ambiente di esecuzione dell'attività.The execution environment of the activity.

completedInstance
ActivityInstance ActivityInstance ActivityInstance ActivityInstance

L'attività completata.The activity that completed.

result

Il valore TResult dell'attività completata.The TResult value of the activity that completed.

Ereditarietà
CompletionCallback<TResult>CompletionCallback<TResult>CompletionCallback<TResult>CompletionCallback<TResult>

Metodi di estensione

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

Ottiene un oggetto che rappresenta il metodo rappresentato dal delegato specificato.Gets an object that represents the method represented by the specified delegate.

Si applica a