WorkflowApplication.BeginGetInstance Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Récupère un propriétaire d’instance de manière asynchrone à l’aide du IAsyncResult modèle de conception asynchrone.
Surcharges
| Nom | Description |
|---|---|
| BeginGetInstance(Guid, InstanceStore, AsyncCallback, Object) |
Récupère un propriétaire d’instance de manière asynchrone à l’aide du modèle de conception asynchrone avec l’identificateur d’instance, le IAsyncResult magasin d’instances, le rappel et l’état spécifiés. |
| BeginGetInstance(Guid, InstanceStore, TimeSpan, AsyncCallback, Object) |
Récupère un propriétaire d’instance de manière asynchrone à l’aide du modèle de conception asynchrone avec l’identificateur d’instance, le magasin d’instances, l’intervalle de délai d’expiration, le IAsyncResult rappel et l’état spécifiés. |
BeginGetInstance(Guid, InstanceStore, AsyncCallback, Object)
Récupère un propriétaire d’instance de manière asynchrone à l’aide du modèle de conception asynchrone avec l’identificateur d’instance, le IAsyncResult magasin d’instances, 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 d’instance.
- instanceStore
- InstanceStore
Accès à l’état persistant de l’instance actuelle de l’application de workflow.
- callback
- AsyncCallback
Méthode à appeler lorsque l’opération de chargement de début est terminée.
- state
- Object
Objet facultatif spécifique à l’application qui contient des informations sur l’opération asynchrone.
Retours
Référence à l’opération asynchrone.
S’applique à
BeginGetInstance(Guid, InstanceStore, TimeSpan, AsyncCallback, Object)
Récupère un propriétaire d’instance de manière asynchrone à l’aide du modèle de conception asynchrone avec l’identificateur d’instance, le magasin d’instances, l’intervalle de délai d’expiration, le IAsyncResult 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 d’instance.
- instanceStore
- InstanceStore
Accès à l’état persistant de l’instance actuelle de l’application de workflow.
- timeout
- TimeSpan
Intervalle dans lequel l’opération de chargement de début doit se terminer avant l’annulation de l’opération et l’opération TimeoutException est levée.
- callback
- AsyncCallback
Méthode à appeler lorsque l’opération de chargement de début est terminée.
- state
- Object
Objet facultatif spécifique à l’application qui contient des informations sur l’opération asynchrone.
Retours
Référence à l’opération asynchrone.