WorkflowApplication.BeginLoad 方法

定義

使用 IAsyncResult 非同步設計模式從執行個體存放區非同步載入工作流程。Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern.

多載

BeginLoad(Guid, TimeSpan, AsyncCallback, Object)

使用指定的執行個體識別項、逾時時間、回呼方法及使用者提供的狀態,以非同步方式從執行個體存放區載入工作流程。Loads a workflow asynchronously from an instance store using the specified instance identifier, timeout period, callback method, and user-provided state.

BeginLoad(WorkflowApplicationInstance, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體、回呼和狀態,從執行個體存放區非同步載入工作流程。Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, callback and state.

BeginLoad(Guid, AsyncCallback, Object)

使用指定的執行個體識別項、回呼方法及使用者提供的狀態,以非同步方式從執行個體存放區載入工作流程。Loads a workflow asynchronously from an instance store using the specified instance identifier, callback method, and user-provided state.

BeginLoad(WorkflowApplicationInstance, DynamicUpdateMap, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體、更新對應、回呼和狀態,從執行個體存放區非同步載入工作流程。Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, update map, callback and state.

BeginLoad(WorkflowApplicationInstance, TimeSpan, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體、逾時間隔、回呼和狀態,從執行個體存放區非同步載入工作流程。Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, timeout interval, callback and state.

BeginLoad(WorkflowApplicationInstance, DynamicUpdateMap, TimeSpan, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體、更新對應、逾時間隔、回呼和狀態,從執行個體存放區非同步載入工作流程。Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, update map, timeout interval, callback and state.

備註

如需詳細資訊, 請參閱非同步程式設計總覽For more information, see Asynchronous Programming Overview.

BeginLoad(Guid, TimeSpan, AsyncCallback, Object)

使用指定的執行個體識別項、逾時時間、回呼方法及使用者提供的狀態,以非同步方式從執行個體存放區載入工作流程。Loads a workflow asynchronously from an instance store using the specified instance identifier, timeout period, callback method, and user-provided state.

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

參數

instanceId
Guid

工作流程執行個體的全域唯一 128 位元識別碼。A globally unique 128-bit identifier for the workflow instance.

timeout
TimeSpan

開始載入作業必須在作業取消並擲回 TimeoutException 前完成的間隔。The interval in which the begin load operation must complete before the operation is canceled and a TimeoutException is thrown.

callback
AsyncCallback

完成開始載入作業時要呼叫的方法。The method to be called when the begin load operation has completed.

state
Object

選擇性的應用程式特定物件,其中包含非同步作業的相關資訊。An optional application-specific object that contains information about the asynchronous operation.

傳回

非同步作業的狀態。The status of an asynchronous operation.

BeginLoad(WorkflowApplicationInstance, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體、回呼和狀態,從執行個體存放區非同步載入工作流程。Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, callback and state.

public:
 IAsyncResult ^ BeginLoad(System::Activities::WorkflowApplicationInstance ^ instance, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginLoad (System.Activities.WorkflowApplicationInstance instance, AsyncCallback callback, object state);
member this.BeginLoad : System.Activities.WorkflowApplicationInstance * AsyncCallback * obj -> IAsyncResult
Public Function BeginLoad (instance As WorkflowApplicationInstance, callback As AsyncCallback, state As Object) As IAsyncResult

參數

instance
WorkflowApplicationInstance

執行個體。The instance.

callback
AsyncCallback

完成開始載入作業時要呼叫的方法。The method to be called when the begin load operation has completed.

state
Object

選擇性的應用程式特定物件,其中包含非同步作業的相關資訊。An optional application-specific object that contains information about the asynchronous operation.

傳回

非同步作業的參考。A reference to the asynchronous operation.

BeginLoad(Guid, AsyncCallback, Object)

使用指定的執行個體識別項、回呼方法及使用者提供的狀態,以非同步方式從執行個體存放區載入工作流程。Loads a workflow asynchronously from an instance store using the specified instance identifier, callback method, and user-provided state.

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

參數

instanceId
Guid

工作流程執行個體的全域唯一 128 位元識別碼。A globally unique 128-bit identifier for the workflow instance.

callback
AsyncCallback

完成開始載入作業時要呼叫的方法。The method to be called when the begin load operation has completed.

state
Object

選擇性的應用程式特定物件,其中包含非同步作業的相關資訊。An optional application-specific object that contains information about the asynchronous operation.

傳回

非同步作業的狀態。The status of an asynchronous operation.

BeginLoad(WorkflowApplicationInstance, DynamicUpdateMap, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體、更新對應、回呼和狀態,從執行個體存放區非同步載入工作流程。Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, update map, callback and state.

public:
 IAsyncResult ^ BeginLoad(System::Activities::WorkflowApplicationInstance ^ instance, System::Activities::DynamicUpdate::DynamicUpdateMap ^ updateMap, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginLoad (System.Activities.WorkflowApplicationInstance instance, System.Activities.DynamicUpdate.DynamicUpdateMap updateMap, AsyncCallback callback, object state);
member this.BeginLoad : System.Activities.WorkflowApplicationInstance * System.Activities.DynamicUpdate.DynamicUpdateMap * AsyncCallback * obj -> IAsyncResult
Public Function BeginLoad (instance As WorkflowApplicationInstance, updateMap As DynamicUpdateMap, callback As AsyncCallback, state As Object) As IAsyncResult

參數

instance
WorkflowApplicationInstance

執行個體。The instance.

updateMap
DynamicUpdateMap

更新對應。The update map.

callback
AsyncCallback

完成開始載入作業時要呼叫的方法。The method to be called when the begin load operation has completed.

state
Object

選擇性的應用程式特定物件,其中包含非同步作業的相關資訊。An optional application-specific object that contains information about the asynchronous operation.

傳回

非同步作業的參考。A reference to the asynchronous operation.

BeginLoad(WorkflowApplicationInstance, TimeSpan, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體、逾時間隔、回呼和狀態,從執行個體存放區非同步載入工作流程。Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, timeout interval, callback and state.

public:
 IAsyncResult ^ BeginLoad(System::Activities::WorkflowApplicationInstance ^ instance, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginLoad (System.Activities.WorkflowApplicationInstance instance, TimeSpan timeout, AsyncCallback callback, object state);
member this.BeginLoad : System.Activities.WorkflowApplicationInstance * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Function BeginLoad (instance As WorkflowApplicationInstance, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

參數

instance
WorkflowApplicationInstance

執行個體。The instance.

timeout
TimeSpan

開始載入作業必須在作業取消並擲回 TimeoutException 前完成的間隔。The interval in which the begin load operation must complete before the operation is canceled and a TimeoutException is thrown.

callback
AsyncCallback

完成開始載入作業時要呼叫的方法。The method to be called when the begin load operation has completed.

state
Object

選擇性的應用程式特定物件,其中包含非同步作業的相關資訊。An optional application-specific object that contains information about the asynchronous operation.

傳回

非同步作業的參考。A reference to the asynchronous operation.

BeginLoad(WorkflowApplicationInstance, DynamicUpdateMap, TimeSpan, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體、更新對應、逾時間隔、回呼和狀態,從執行個體存放區非同步載入工作流程。Loads a workflow asynchronously from an instance store using the IAsyncResult asynchronous design pattern with specified instance, update map, timeout interval, callback and state.

public:
 IAsyncResult ^ BeginLoad(System::Activities::WorkflowApplicationInstance ^ instance, System::Activities::DynamicUpdate::DynamicUpdateMap ^ updateMap, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginLoad (System.Activities.WorkflowApplicationInstance instance, System.Activities.DynamicUpdate.DynamicUpdateMap updateMap, TimeSpan timeout, AsyncCallback callback, object state);
member this.BeginLoad : System.Activities.WorkflowApplicationInstance * System.Activities.DynamicUpdate.DynamicUpdateMap * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Function BeginLoad (instance As WorkflowApplicationInstance, updateMap As DynamicUpdateMap, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

參數

instance
WorkflowApplicationInstance

執行個體。The instance.

updateMap
DynamicUpdateMap

更新對應。The update map.

timeout
TimeSpan

開始載入作業必須在作業取消並擲回 TimeoutException 前完成的間隔。The interval in which the begin load operation must complete before the operation is canceled and a TimeoutException is thrown.

callback
AsyncCallback

完成開始載入作業時要呼叫的方法。The method to be called when the begin load operation has completed.

state
Object

選擇性的應用程式特定物件,其中包含非同步作業的相關資訊。An optional application-specific object that contains information about the asynchronous operation.

傳回

非同步作業的參考。A reference to the asynchronous operation.

適用於