ServiceHostBase.OnBeginOpen(TimeSpan, AsyncCallback, Object) 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.
Commence une opération asynchrone appelée lors de l’ouverture de l’hôte de service.
protected:
override IAsyncResult ^ OnBeginOpen(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected override sealed IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
protected override IAsyncResult OnBeginOpen(TimeSpan timeout, AsyncCallback callback, object state);
override this.OnBeginOpen : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overrides NotOverridable Function OnBeginOpen (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Protected Overrides Function OnBeginOpen (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Paramètres
- timeout
- TimeSpan
Qui TimeSpan spécifie la durée pendant laquelle l’opération ouverte doit être terminée avant l’expiration du délai d’attente.
- callback
- AsyncCallback
Délégué AsyncCallback qui reçoit la notification de l’opération asynchrone à l’achèvement ouvert.
- state
- Object
Objet, spécifié par l’application, qui contient des informations d’état associées à l’opération asynchrone ouverte.
Retours
Qui IAsyncResult fait référence à l’opération asynchrone ouverte.