WorkflowUpdateableControlClient.BeginTerminate 方法

定义

开始一个异步操作,该操作将终止工作流实例。

重载

BeginTerminate(Guid, AsyncCallback, Object)

开始一个异步操作,该操作将终止工作流实例。

BeginTerminate(Guid, String, AsyncCallback, Object)

开始一个异步操作,该操作将终止工作流实例。

BeginTerminate(Guid, AsyncCallback, Object)

开始一个异步操作,该操作将终止工作流实例。

public:
 IAsyncResult ^ BeginTerminate(Guid instanceId, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginTerminate (Guid instanceId, AsyncCallback callback, object state);
member this.BeginTerminate : Guid * AsyncCallback * obj -> IAsyncResult
Public Function BeginTerminate (instanceId As Guid, callback As AsyncCallback, state As Object) As IAsyncResult

参数

instanceId
Guid

要终止的工作流实例。

callback
AsyncCallback

可接收异步操作完成通知的异步回调委托。

state
Object

一个包含与异步终止操作关联的状态信息的用户对象。

返回

IAsyncResult

表示异步操作状态的 IAsyncResult 对象。

适用于

BeginTerminate(Guid, String, AsyncCallback, Object)

开始一个异步操作,该操作将终止工作流实例。

public:
 IAsyncResult ^ BeginTerminate(Guid instanceId, System::String ^ reason, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginTerminate (Guid instanceId, string reason, AsyncCallback callback, object state);
member this.BeginTerminate : Guid * string * AsyncCallback * obj -> IAsyncResult
Public Function BeginTerminate (instanceId As Guid, reason As String, callback As AsyncCallback, state As Object) As IAsyncResult

参数

instanceId
Guid

要终止的工作流实例。

reason
String

终止工作流实例的原因。

callback
AsyncCallback

可接收异步操作完成通知的异步回调委托。

state
Object

一个包含与异步终止操作关联的状态信息的用户对象。

返回

IAsyncResult

表示异步操作状态的 IAsyncResult 对象。

适用于