WorkflowApplication.BeginGetInstance Methode

Definition

Ruft einen Instanzbesitzer asynchron mithilfe des IAsyncResult asynchronen Entwurfsmusters ab.

Überlädt

Name Beschreibung
BeginGetInstance(Guid, InstanceStore, AsyncCallback, Object)

Ruft einen Instanzbesitzer asynchron mithilfe des IAsyncResult asynchronen Entwurfsmusters mit angegebenem Instanzbezeichner, Instanzspeicher, Rückruf und Zustand ab.

BeginGetInstance(Guid, InstanceStore, TimeSpan, AsyncCallback, Object)

Ruft einen Instanzbesitzer asynchron mithilfe des IAsyncResult asynchronen Entwurfsmusters mit angegebenem Instanzbezeichner, Instanzspeicher, Timeoutintervall, Rückruf und Zustand ab.

BeginGetInstance(Guid, InstanceStore, AsyncCallback, Object)

Ruft einen Instanzbesitzer asynchron mithilfe des IAsyncResult asynchronen Entwurfsmusters mit angegebenem Instanzbezeichner, Instanzspeicher, Rückruf und Zustand ab.

public:
 static IAsyncResult ^ BeginGetInstance(Guid instanceId, System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, AsyncCallback ^ callback, System::Object ^ state);
public static IAsyncResult BeginGetInstance(Guid instanceId, System.Runtime.DurableInstancing.InstanceStore instanceStore, AsyncCallback callback, object state);
static member BeginGetInstance : Guid * System.Runtime.DurableInstancing.InstanceStore * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginGetInstance (instanceId As Guid, instanceStore As InstanceStore, callback As AsyncCallback, state As Object) As IAsyncResult

Parameter

instanceId
Guid

Der Instanzbezeichner.

instanceStore
InstanceStore

Der Zugriff auf den permanenten Zustand der aktuellen Instanz der Workflowanwendung.

callback
AsyncCallback

Die Methode, die aufgerufen werden soll, wenn der Startladevorgang abgeschlossen ist.

state
Object

Ein optionales anwendungsspezifisches Objekt, das Informationen zum asynchronen Vorgang enthält.

Gibt zurück

Ein Verweis auf den asynchronen Vorgang.

Gilt für:

BeginGetInstance(Guid, InstanceStore, TimeSpan, AsyncCallback, Object)

Ruft einen Instanzbesitzer asynchron mithilfe des IAsyncResult asynchronen Entwurfsmusters mit angegebenem Instanzbezeichner, Instanzspeicher, Timeoutintervall, Rückruf und Zustand ab.

public:
 static IAsyncResult ^ BeginGetInstance(Guid instanceId, System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public static IAsyncResult BeginGetInstance(Guid instanceId, System.Runtime.DurableInstancing.InstanceStore instanceStore, TimeSpan timeout, AsyncCallback callback, object state);
static member BeginGetInstance : Guid * System.Runtime.DurableInstancing.InstanceStore * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginGetInstance (instanceId As Guid, instanceStore As InstanceStore, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameter

instanceId
Guid

Der Instanzbezeichner.

instanceStore
InstanceStore

Der Zugriff auf den permanenten Zustand der aktuellen Instanz der Workflowanwendung.

timeout
TimeSpan

Das Intervall, in dem der Startladevorgang abgeschlossen werden muss, bevor der Vorgang abgebrochen wird und ein TimeoutException Vorgang ausgelöst wird.

callback
AsyncCallback

Die Methode, die aufgerufen werden soll, wenn der Startladevorgang abgeschlossen ist.

state
Object

Ein optionales anwendungsspezifisches Objekt, das Informationen zum asynchronen Vorgang enthält.

Gibt zurück

Ein Verweis auf den asynchronen Vorgang.

Gilt für: