WorkflowApplication.GetInstance Methode

Definitie

Haalt het werkstroomexemplaren op.

Overloads

Name Description
GetInstance(Guid, InstanceStore)

Hiermee haalt u het werkstroomexemplaren op met behulp van de opgegeven exemplaar-id en het exemplaararchief.

GetInstance(Guid, InstanceStore, TimeSpan)

Haalt het werkstroomexemplaren op met behulp van de opgegeven exemplaar-id, het exemplaararchief en het time-outinterval.

GetInstance(Guid, InstanceStore)

Hiermee haalt u het werkstroomexemplaren op met behulp van de opgegeven exemplaar-id en het exemplaararchief.

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

Parameters

instanceId
Guid

De exemplaar-id.

instanceStore
InstanceStore

De toegang tot de persistente status van het huidige exemplaar van de werkstroomtoepassing.

Retouren

Het opgehaalde exemplaar.

Van toepassing op

GetInstance(Guid, InstanceStore, TimeSpan)

Haalt het werkstroomexemplaren op met behulp van de opgegeven exemplaar-id, het exemplaararchief en het time-outinterval.

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

Parameters

instanceId
Guid

De exemplaar-id.

instanceStore
InstanceStore

De toegang tot de persistente status van het huidige exemplaar van de werkstroomtoepassing.

timeout
TimeSpan

Het interval waarin de begintaakbewerking moet worden voltooid voordat de bewerking wordt geannuleerd.

Retouren

Een verwijzing naar de asynchrone bewerking.

Van toepassing op