WorkflowControlClient.BeginSuspend 方法

定义

开始一个异步操作,该操作将挂起指定的操作。

重载

BeginSuspend(Guid, AsyncCallback, Object)

开始一个异步操作,该操作将挂起指定的操作。

BeginSuspend(Guid, String, AsyncCallback, Object)

开始一个异步操作,该操作将挂起指定的操作。

BeginSuspend(Guid, AsyncCallback, Object)

开始一个异步操作,该操作将挂起指定的操作。

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

参数

instanceId
Guid

要挂起的工作流实例。

callback
AsyncCallback

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

state
Object

用户定义的状态数据。

返回

IAsyncResult

异步挂起操作。

适用于

BeginSuspend(Guid, String, AsyncCallback, Object)

开始一个异步操作,该操作将挂起指定的操作。

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

参数

instanceId
Guid

要挂起的工作流实例。

reason
String

挂起工作流实例的原因。

callback
AsyncCallback

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

state
Object

用户定义的状态数据。

返回

IAsyncResult

异步挂起操作。

适用于