ReceiveContext.OnBeginComplete(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.
Appelé lorsque la machine d’état passe à l’état terminé de façon asynchrone avec le délai d’expiration, le rappel et les données d’état spécifiés.
protected:
abstract IAsyncResult ^ OnBeginComplete(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected abstract IAsyncResult OnBeginComplete(TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginComplete : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginComplete (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Paramètres
- timeout
- TimeSpan
Délai d’expiration de l’opération terminée.
- callback
- AsyncCallback
Délégué de rappel asynchrone qui reçoit la notification de l’achèvement de l’opération asynchrone.
- state
- Object
Données d’état définies par l’utilisateur.
Retours
Qui IAsyncResult fait référence à l’opération asynchrone.