WorkflowApplication.BeginGetInstance Methode

Definitie

Hiermee wordt een exemplaareigenaar asynchroon opgehaald met behulp van het IAsyncResult asynchrone ontwerppatroon.

Overloads

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

Haalt een exemplaareigenaar asynchroon op met behulp van het IAsyncResult asynchrone ontwerppatroon met de opgegeven exemplaar-id, exemplaaropslag, callback en status.

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

Haalt een exemplaareigenaar asynchroon op met behulp van het IAsyncResult asynchrone ontwerppatroon met de opgegeven exemplaar-id, exemplaaropslag, time-outinterval, callback en status.

BeginGetInstance(Guid, InstanceStore, AsyncCallback, Object)

Haalt een exemplaareigenaar asynchroon op met behulp van het IAsyncResult asynchrone ontwerppatroon met de opgegeven exemplaar-id, exemplaaropslag, callback en status.

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

Parameters

instanceId
Guid

De exemplaar-id.

instanceStore
InstanceStore

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

callback
AsyncCallback

De methode die moet worden aangeroepen wanneer de begintaakbewerking is voltooid.

state
Object

Een optioneel toepassingsspecifiek object dat informatie bevat over de asynchrone bewerking.

Retouren

Een verwijzing naar de asynchrone bewerking.

Van toepassing op

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

Haalt een exemplaareigenaar asynchroon op met behulp van het IAsyncResult asynchrone ontwerppatroon met de opgegeven exemplaar-id, exemplaaropslag, time-outinterval, callback en status.

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

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 en er een TimeoutException wordt gegenereerd.

callback
AsyncCallback

De methode die moet worden aangeroepen wanneer de begintaakbewerking is voltooid.

state
Object

Een optioneel toepassingsspecifiek object dat informatie bevat over de asynchrone bewerking.

Retouren

Een verwijzing naar de asynchrone bewerking.

Van toepassing op