WorkflowApplication.GetInstance Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
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.