DelegateCompletionCallback Delegato

Definizione

Rappresenta il metodo che viene chiamato quando si completa un 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))

Parametri

context
NativeActivityContext

Ambiente di esecuzione dell'attività per gestire il callback.The execution environment of the activity handling the callback.

completedInstance
ActivityInstance

Istanza dell'attività completata del gestore ActivityDelegate.The completed activity instance of the ActivityDelegate handler.

outArguments
IDictionary<String,Object>

Gli argomenti di output del ActivityDelegate completato.The output arguments of the completed ActivityDelegate.

Commenti

I valori nel dizionario outArguments sono i valori RuntimeDelegateArgument di ActivityDelegate assegnati quando viene richiamato ActivityDelegate, adattato da 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.

Metodi di estensione

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