WorkflowApplication.GetInstance Metódus

Definíció

Lekéri a munkafolyamat-példányt.

Túlterhelések

Name Description
GetInstance(Guid, InstanceStore)

Lekéri a munkafolyamat-példányt a megadott példányazonosító és példánytároló használatával.

GetInstance(Guid, InstanceStore, TimeSpan)

Lekéri a munkafolyamat-példányt a megadott példányazonosító, példánytár és időtúllépési időköz használatával.

GetInstance(Guid, InstanceStore)

Lekéri a munkafolyamat-példányt a megadott példányazonosító és példánytároló használatával.

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

Paraméterek

instanceId
Guid

A példány azonosítója.

instanceStore
InstanceStore

A munkafolyamat-alkalmazás aktuális példányának tartós állapotához való hozzáférés.

Válaszok

A lekért példány.

A következőre érvényes:

GetInstance(Guid, InstanceStore, TimeSpan)

Lekéri a munkafolyamat-példányt a megadott példányazonosító, példánytár és időtúllépési időköz használatával.

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

Paraméterek

instanceId
Guid

A példány azonosítója.

instanceStore
InstanceStore

A munkafolyamat-alkalmazás aktuális példányának tartós állapotához való hozzáférés.

timeout
TimeSpan

Az az időköz, amelyben a kezdő betöltési műveletnek befejeződnie kell a művelet megszakítása előtt.

Válaszok

Az aszinkron műveletre mutató hivatkozás.

A következőre érvényes: