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

一个特定于应用程序的可选对象,其中包含有关异步操作的信息。

返回

对异步关联键操作的引用。

适用于