SqlPersistenceProviderFactory.OnBeginClose 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.
Représente le début de la phase Fermer.
protected:
override IAsyncResult ^ OnBeginClose(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state);
override this.OnBeginClose : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overrides Function OnBeginClose (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Paramètres
- timeout
- TimeSpan
Période après laquelle le fournisseur de persistance abandonne cette tentative.
- callback
- AsyncCallback
Méthode à appeler lorsque l’opération est terminée.
- state
- Object
Objet fourni par l’utilisateur qui distingue cette opération asynchrone particulière d’autres opérations.
Retours
État de l’appel OnBeginClose(TimeSpan, AsyncCallback, Object) de méthode asynchrone.
Remarques
La phase Fermer se produit lorsque le service est fermé.