WorkflowApplication.BeginGetRunnableInstance 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
利用 IAsyncResult 非同步設計模式非同步擷取可執行的實例擁有者。
多載
| 名稱 | Description |
|---|---|
| BeginGetRunnableInstance(InstanceStore, AsyncCallback, Object) |
利用 IAsyncResult 非同步設計模式,指定實例儲存、回調與狀態,非同步擷取可執行的實例擁有者。 |
| BeginGetRunnableInstance(InstanceStore, TimeSpan, AsyncCallback, Object) |
利用 IAsyncResult 非同步設計模式,指定實例儲存、逾時間隔、回調及狀態,非同步擷取可執行的實例擁有者。 |
BeginGetRunnableInstance(InstanceStore, AsyncCallback, Object)
利用 IAsyncResult 非同步設計模式,指定實例儲存、回調與狀態,非同步擷取可執行的實例擁有者。
public:
static IAsyncResult ^ BeginGetRunnableInstance(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, AsyncCallback ^ callback, System::Object ^ state);
public static IAsyncResult BeginGetRunnableInstance(System.Runtime.DurableInstancing.InstanceStore instanceStore, AsyncCallback callback, object state);
static member BeginGetRunnableInstance : System.Runtime.DurableInstancing.InstanceStore * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginGetRunnableInstance (instanceStore As InstanceStore, callback As AsyncCallback, state As Object) As IAsyncResult
參數
- instanceStore
- InstanceStore
存取工作流程應用程式目前實例的持久狀態。
- callback
- AsyncCallback
當開始載入操作完成時,應呼叫的方法。
- state
- Object
選擇性的特定應用程式物件,包含有關異步操作的相關資訊。
傳回
這是對非同步操作的參考。
適用於
BeginGetRunnableInstance(InstanceStore, TimeSpan, AsyncCallback, Object)
利用 IAsyncResult 非同步設計模式,指定實例儲存、逾時間隔、回調及狀態,非同步擷取可執行的實例擁有者。
public:
static IAsyncResult ^ BeginGetRunnableInstance(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public static IAsyncResult BeginGetRunnableInstance(System.Runtime.DurableInstancing.InstanceStore instanceStore, TimeSpan timeout, AsyncCallback callback, object state);
static member BeginGetRunnableInstance : System.Runtime.DurableInstancing.InstanceStore * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginGetRunnableInstance (instanceStore As InstanceStore, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
參數
- instanceStore
- InstanceStore
存取工作流程應用程式目前實例的持久狀態。
- timeout
- TimeSpan
載荷操作開始的時間必須完成,之後該操作會被取消並拋出 a TimeoutException 。
- callback
- AsyncCallback
當開始載入操作完成時,應呼叫的方法。
- state
- Object
選擇性的特定應用程式物件,包含有關異步操作的相關資訊。
傳回
這是對非同步操作的參考。