WorkflowApplication.BeginGetRunnableInstance 方法

定義

使用 IAsyncResult 非同步設計模式,以非同步方式擷取可執行的執行個體擁有者。Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern.

多載

BeginGetRunnableInstance(InstanceStore, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體存放區、回呼和狀態,非同步擷取可執行的執行個體擁有者。Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, callback, and state.

BeginGetRunnableInstance(InstanceStore, TimeSpan, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體存放區、逾時間隔、回呼和狀態,非同步擷取可執行的執行個體擁有者。Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, timeout interval, callback, and state.

BeginGetRunnableInstance(InstanceStore, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體存放區、回呼和狀態,非同步擷取可執行的執行個體擁有者。Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, callback, and state.

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

參數

instanceStore
InstanceStore

目前工作流程應用程式執行個體的永續性狀態的存取權。The access to the persisted state of the current instance of the workflow application.

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.

BeginGetRunnableInstance(InstanceStore, TimeSpan, AsyncCallback, Object)

使用 IAsyncResult 非同步設計模式,以指定的執行個體存放區、逾時間隔、回呼和狀態,非同步擷取可執行的執行個體擁有者。Retrieves a runnable instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, timeout interval, callback, and state.

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

參數

instanceStore
InstanceStore

目前工作流程應用程式執行個體的永續性狀態的存取權。The access to the persisted state of the current instance of the workflow application.

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.

適用於