Edit

Bagikan melalui


WorkflowInstance.OnBeginAssociateKeys Method

Definition

Called by the workflow runtime to notify the host that new instance keys should be associated with this 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

Parameters

keys
ICollection<InstanceKey>

The instance keys to associate with this workflow instance.

callback
AsyncCallback

The method to be called when the operation completes.

state
Object

An optional application-specific object that contains information about the asynchronous operation.

Returns

A reference to the asynchronous associate keys operation.

Applies to