WorkflowApplication.BeginDeleteDefaultInstanceOwner 方法

定义

异步删除一个默认实例所有者,通过使用 IAsyncResult 异步设计模式。

重载

BeginDeleteDefaultInstanceOwner(InstanceStore, AsyncCallback, Object)

异步使用带指定实例存储区、回调和状态的 IAsyncResult 异步设计模型检索可运行的实例所有者。

BeginDeleteDefaultInstanceOwner(InstanceStore, TimeSpan, AsyncCallback, Object)

异步使用带指定实例存储区、超时间隔、回调和状态的 IAsyncResult 异步设计模型删除默认实例的所有者。

BeginDeleteDefaultInstanceOwner(InstanceStore, AsyncCallback, Object)

异步使用带指定实例存储区、回调和状态的 IAsyncResult 异步设计模型检索可运行的实例所有者。

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

参数

instanceStore
InstanceStore

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

callback
AsyncCallback

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

state
Object

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

返回

对异步操作的引用。

适用于

BeginDeleteDefaultInstanceOwner(InstanceStore, TimeSpan, AsyncCallback, Object)

异步使用带指定实例存储区、超时间隔、回调和状态的 IAsyncResult 异步设计模型删除默认实例的所有者。

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

参数

instanceStore
InstanceStore

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

timeout
TimeSpan

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

callback
AsyncCallback

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

state
Object

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

返回

对异步操作的引用。

适用于