WorkflowApplication.BeginGetInstance Méthode

Définition

Récupère un propriétaire d'instance de façon asynchrone à l'aide du modèle de conception asynchrone IAsyncResult.

Surcharges

BeginGetInstance(Guid, InstanceStore, AsyncCallback, Object)

Extrait un propriétaire d'instance de façon asynchrone à l'aide du modèle de design asynchrone IAsyncResult avec l'identificateur d'instance, le magasin d'instance, le rappel et l'état spécifiés.

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

Extrait un propriétaire d'instance de façon asynchrone à l'aide du modèle de design asynchrone IAsyncResult avec l'identificateur d'instance, le magasin d'instance, l'intervalle de délai d'expiration, le rappel et l'état spécifiés.

BeginGetInstance(Guid, InstanceStore, AsyncCallback, Object)

Extrait un propriétaire d'instance de façon asynchrone à l'aide du modèle de design asynchrone IAsyncResult avec l'identificateur d'instance, le magasin d'instance, le rappel et l'état spécifiés.

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

Paramètres

instanceId
Guid

Identificateur de l'instance.

instanceStore
InstanceStore

Accès à un état persistant de l'instance actuelle de l'application de flux de travail.

callback
AsyncCallback

Méthode à appeler lorsque l'opération de chargement est terminée.

state
Object

Objet spécifique à l'application facultatif qui contient les informations sur l'opération asynchrone.

Retours

Référence à l'opération asynchrone.

S’applique à

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

Extrait un propriétaire d'instance de façon asynchrone à l'aide du modèle de design asynchrone IAsyncResult avec l'identificateur d'instance, le magasin d'instance, l'intervalle de délai d'expiration, le rappel et l'état spécifiés.

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

Paramètres

instanceId
Guid

Identificateur de l'instance.

instanceStore
InstanceStore

Accès à un état persistant de l'instance actuelle de l'application de flux de travail.

timeout
TimeSpan

Intervalle dans lequel l'opération de chargement doit être réalisée avant que l'opération ne soit annulée et qu'une TimeoutException ne soit levée.

callback
AsyncCallback

Méthode à appeler lorsque l'opération de chargement est terminée.

state
Object

Objet spécifique à l'application facultatif qui contient les informations sur l'opération asynchrone.

Retours

Référence à l'opération asynchrone.

S’applique à