Share via


WorkflowInstance.OnBeginAssociateKeys Méthode

Définition

Appelée par l'exécution du flux de travail pour notifier l'hôte que les nouvelles clés d'instance doivent être associées à cette instance.

protected public:
 abstract IAsyncResult ^ OnBeginAssociateKeys(System::Collections::Generic::ICollection<System::Runtime::DurableInstancing::InstanceKey ^> ^ keys, AsyncCallback ^ callback, System::Object ^ state);
protected internal abstract IAsyncResult OnBeginAssociateKeys (System.Collections.Generic.ICollection<System.Runtime.DurableInstancing.InstanceKey> keys, AsyncCallback callback, object state);
abstract member OnBeginAssociateKeys : System.Collections.Generic.ICollection<System.Runtime.DurableInstancing.InstanceKey> * AsyncCallback * obj -> IAsyncResult
Protected Friend MustOverride Function OnBeginAssociateKeys (keys As ICollection(Of InstanceKey), callback As AsyncCallback, state As Object) As IAsyncResult

Paramètres

keys
ICollection<InstanceKey>

Clés d'instance à associer à cette instance de flux de travail.

callback
AsyncCallback

Méthode à appeler lorsque l'opération est terminée.

state
Object

Objet spécifique à l'application facultatif qui contient les informations sur l'opération asynchrone.

Retours

IAsyncResult

Référence à l'opération d'association de clés asynchrone.

S’applique à