WorkflowInstance.OnBeginAssociateKeys 方法

定義

由工作流程執行時呼叫,通知主機該實例應與此實例綁定。

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

參數

keys
ICollection<InstanceKey>

實例鍵要與此工作流程實例關聯。

callback
AsyncCallback

操作完成時要呼叫的方法。

state
Object

選擇性的特定應用程式物件,包含有關異步操作的相關資訊。

傳回

這是對非同步關聯鍵操作的參考。

適用於