WorkflowControlClient.BeginSuspend 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
开始一个异步操作,该操作将挂起指定的操作。
重载
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
用户定义的状态数据。
返回
异步挂起操作。
适用于
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
用户定义的状态数据。
返回
异步挂起操作。