WorkflowApplication.GetRunnableInstance 方法

定義

擷取工作流程的可執行執行個體狀態。Retrieves the runnable instance of the workflow.

多載

GetRunnableInstance(InstanceStore, TimeSpan)

以指定的執行個體存放區和逾時間隔,擷取工作流程的可執行執行個體。Retrieves the runnable instance of the workflow with specified instance store and timeout interval.

GetRunnableInstance(InstanceStore)

以指定的執行個體存放區擷取工作流程的可執行執行個體。Retrieves the runnable instance of the workflow with specified instance store.

GetRunnableInstance(InstanceStore, TimeSpan)

以指定的執行個體存放區和逾時間隔,擷取工作流程的可執行執行個體。Retrieves the runnable instance of the workflow with specified instance store and timeout interval.

public:
 static System::Activities::WorkflowApplicationInstance ^ GetRunnableInstance(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, TimeSpan timeout);
public static System.Activities.WorkflowApplicationInstance GetRunnableInstance (System.Runtime.DurableInstancing.InstanceStore instanceStore, TimeSpan timeout);
static member GetRunnableInstance : System.Runtime.DurableInstancing.InstanceStore * TimeSpan -> System.Activities.WorkflowApplicationInstance

參數

instanceStore
InstanceStore

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

timeout
TimeSpan

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

傳回

可執行的執行個體。The runnable instance.

GetRunnableInstance(InstanceStore)

以指定的執行個體存放區擷取工作流程的可執行執行個體。Retrieves the runnable instance of the workflow with specified instance store.

public:
 static System::Activities::WorkflowApplicationInstance ^ GetRunnableInstance(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore);
public static System.Activities.WorkflowApplicationInstance GetRunnableInstance (System.Runtime.DurableInstancing.InstanceStore instanceStore);
static member GetRunnableInstance : System.Runtime.DurableInstancing.InstanceStore -> System.Activities.WorkflowApplicationInstance

參數

instanceStore
InstanceStore

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

傳回

可執行的執行個體。The runnable instance.

適用於