WorkflowApplication.BeginCreateDefaultInstanceOwner 方法

定义

异步使用 IAsyncResult 异步设计模式创建默认实例所有者。

重载

BeginCreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, TimeSpan, AsyncCallback, Object)

异步使用带指定实例存储、定义标识、标识筛选器、超时间隔、回拨和状态的 IAsyncResult 异步设计模型创建默认实例所有者。

BeginCreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, AsyncCallback, Object)

异步使用带指定实例存储、定义标识、标识筛选器、回拨和状态的 IAsyncResult 异步设计模型创建默认实例所有者。

BeginCreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, TimeSpan, AsyncCallback, Object)

异步使用带指定实例存储、定义标识、标识筛选器、超时间隔、回拨和状态的 IAsyncResult 异步设计模型创建默认实例所有者。

public:
 static IAsyncResult ^ BeginCreateDefaultInstanceOwner(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, System::Activities::WorkflowIdentity ^ definitionIdentity, System::Activities::WorkflowIdentityFilter identityFilter, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public static IAsyncResult BeginCreateDefaultInstanceOwner (System.Runtime.DurableInstancing.InstanceStore instanceStore, System.Activities.WorkflowIdentity definitionIdentity, System.Activities.WorkflowIdentityFilter identityFilter, TimeSpan timeout, AsyncCallback callback, object state);
static member BeginCreateDefaultInstanceOwner : System.Runtime.DurableInstancing.InstanceStore * System.Activities.WorkflowIdentity * System.Activities.WorkflowIdentityFilter * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginCreateDefaultInstanceOwner (instanceStore As InstanceStore, definitionIdentity As WorkflowIdentity, identityFilter As WorkflowIdentityFilter, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

参数

instanceStore
InstanceStore

对工作流应用程序的当前实例保留状态的访问。

definitionIdentity
WorkflowIdentity

定义标识。

identityFilter
WorkflowIdentityFilter

标识筛选器。

timeout
TimeSpan

必须在此时间内完成开始加载操作的时间间隔,否则,将取消该操作并引发 TimeoutException

callback
AsyncCallback

要在开始加载操作完成后调用的方法。

state
Object

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

返回

对异步操作的引用。

适用于

BeginCreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, AsyncCallback, Object)

异步使用带指定实例存储、定义标识、标识筛选器、回拨和状态的 IAsyncResult 异步设计模型创建默认实例所有者。

public:
 static IAsyncResult ^ BeginCreateDefaultInstanceOwner(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, System::Activities::WorkflowIdentity ^ definitionIdentity, System::Activities::WorkflowIdentityFilter identityFilter, AsyncCallback ^ callback, System::Object ^ state);
public static IAsyncResult BeginCreateDefaultInstanceOwner (System.Runtime.DurableInstancing.InstanceStore instanceStore, System.Activities.WorkflowIdentity definitionIdentity, System.Activities.WorkflowIdentityFilter identityFilter, AsyncCallback callback, object state);
static member BeginCreateDefaultInstanceOwner : System.Runtime.DurableInstancing.InstanceStore * System.Activities.WorkflowIdentity * System.Activities.WorkflowIdentityFilter * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginCreateDefaultInstanceOwner (instanceStore As InstanceStore, definitionIdentity As WorkflowIdentity, identityFilter As WorkflowIdentityFilter, callback As AsyncCallback, state As Object) As IAsyncResult

参数

instanceStore
InstanceStore

对工作流应用程序的当前实例保留状态的访问。

definitionIdentity
WorkflowIdentity

定义标识。

identityFilter
WorkflowIdentityFilter

标识筛选器。

callback
AsyncCallback

要在开始加载操作完成后调用的方法。

state
Object

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

返回

对异步操作的引用。

适用于