共用方式為


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

屬性

適用於