WorkflowApplication.GetInstance Metod

Definition

Hämtar arbetsflödesinstansen.

Överlagringar

Name Description
GetInstance(Guid, InstanceStore)

Hämtar arbetsflödesinstansen med angiven instansidentifierare och instansarkiv.

GetInstance(Guid, InstanceStore, TimeSpan)

Hämtar arbetsflödesinstansen med angiven instansidentifierare, instansarkiv och tidsgränsintervall.

GetInstance(Guid, InstanceStore)

Hämtar arbetsflödesinstansen med angiven instansidentifierare och instansarkiv.

public:
 static System::Activities::WorkflowApplicationInstance ^ GetInstance(Guid instanceId, System::Runtime::DurableInstancing::InstanceStore ^ instanceStore);
public static System.Activities.WorkflowApplicationInstance GetInstance(Guid instanceId, System.Runtime.DurableInstancing.InstanceStore instanceStore);
static member GetInstance : Guid * System.Runtime.DurableInstancing.InstanceStore -> System.Activities.WorkflowApplicationInstance
Public Shared Function GetInstance (instanceId As Guid, instanceStore As InstanceStore) As WorkflowApplicationInstance

Parametrar

instanceId
Guid

Instansidentifieraren.

instanceStore
InstanceStore

Åtkomsten till det beständiga tillståndet för den aktuella instansen av arbetsflödesprogrammet.

Returer

Den hämtade instansen.

Gäller för

GetInstance(Guid, InstanceStore, TimeSpan)

Hämtar arbetsflödesinstansen med angiven instansidentifierare, instansarkiv och tidsgränsintervall.

public:
 static System::Activities::WorkflowApplicationInstance ^ GetInstance(Guid instanceId, System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, TimeSpan timeout);
public static System.Activities.WorkflowApplicationInstance GetInstance(Guid instanceId, System.Runtime.DurableInstancing.InstanceStore instanceStore, TimeSpan timeout);
static member GetInstance : Guid * System.Runtime.DurableInstancing.InstanceStore * TimeSpan -> System.Activities.WorkflowApplicationInstance
Public Shared Function GetInstance (instanceId As Guid, instanceStore As InstanceStore, timeout As TimeSpan) As WorkflowApplicationInstance

Parametrar

instanceId
Guid

Instansidentifieraren.

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

En referens till den asynkrona åtgärden.

Gäller för