IWorkflowInstanceManagement.BeginRun(Guid, AsyncCallback, Object) 方法

定义

开始异步操作以运行指定的工作流实例。

public:
 IAsyncResult ^ BeginRun(Guid instanceId, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(AsyncPattern=true, Name="Run")]
public IAsyncResult BeginRun (Guid instanceId, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(AsyncPattern=true, Name="Run")>]
abstract member BeginRun : Guid * AsyncCallback * obj -> IAsyncResult
Public Function BeginRun (instanceId As Guid, callback As AsyncCallback, state As Object) As IAsyncResult

参数

instanceId
Guid

要运行的工作流实例的 GUID 标识符。

callback
AsyncCallback

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

state
Object

一个由应用程序指定的对象,包含与异步运行操作相关联的状态信息。

返回

IAsyncResult

属性

适用于