WorkflowApplication.GetRunnableInstance Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar den körbara instansen av arbetsflödet.
Överlagringar
| Name | Description |
|---|---|
| GetRunnableInstance(InstanceStore, TimeSpan) |
Hämtar den körbara instansen av arbetsflödet med angivet instansarkiv och tidsgränsintervall. |
| GetRunnableInstance(InstanceStore) |
Hämtar den körbara instansen av arbetsflödet med angivet instansarkiv. |
GetRunnableInstance(InstanceStore, TimeSpan)
Hämtar den körbara instansen av arbetsflödet med angivet instansarkiv och tidsgränsintervall.
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
Public Shared Function GetRunnableInstance (instanceStore As InstanceStore, timeout As TimeSpan) As WorkflowApplicationInstance
Parametrar
- instanceStore
- InstanceStore
Åtkomsten till det beständiga tillståndet för den aktuella instansen av arbetsflödesprogrammet.
- timeout
- TimeSpan
Intervallet då inläsningen av start måste slutföras innan åtgärden avbryts.
Returer
Den körbara instansen.
Gäller för
GetRunnableInstance(InstanceStore)
Hämtar den körbara instansen av arbetsflödet med angivet instansarkiv.
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
Public Shared Function GetRunnableInstance (instanceStore As InstanceStore) As WorkflowApplicationInstance
Parametrar
- instanceStore
- InstanceStore
Åtkomsten till det beständiga tillståndet för den aktuella instansen av arbetsflödesprogrammet.
Returer
Den körbara instansen.