ClientBase<TChannel>.ICommunicationObject.BeginClose 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 pour fermer le ClientBase<TChannel>.
Surcharges
| Nom | Description |
|---|---|
| ICommunicationObject.BeginClose(AsyncCallback, Object) |
Commence une opération asynchrone pour fermer le ClientBase<TChannel>. |
| ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object) |
Commence une opération asynchrone pour fermer le ClientBase<TChannel> délai d’expiration spécifié. |
ICommunicationObject.BeginClose(AsyncCallback, Object)
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
Commence une opération asynchrone pour fermer le ClientBase<TChannel>.
virtual IAsyncResult ^ System.ServiceModel.ICommunicationObject.BeginClose(AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::ICommunicationObject::BeginClose;
IAsyncResult ICommunicationObject.BeginClose(AsyncCallback callback, object state);
abstract member System.ServiceModel.ICommunicationObject.BeginClose : AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.ICommunicationObject.BeginClose : AsyncCallback * obj -> IAsyncResult
Function BeginClose (callback As AsyncCallback, state As Object) As IAsyncResult Implements ICommunicationObject.BeginClose
Paramètres
- callback
- AsyncCallback
Méthode qui reçoit le rappel à la fin.
- state
- Object
Données d’état.
Retours
Qui IAsyncResult fait référence à l’opération de fermeture asynchrone.
Implémente
Remarques
Pour plus d’informations, consultez System.ServiceModel.Channels.CommunicationObject.
S’applique à
ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
Commence une opération asynchrone pour fermer le ClientBase<TChannel> délai d’expiration spécifié.
virtual IAsyncResult ^ System.ServiceModel.ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state) = System::ServiceModel::ICommunicationObject::BeginClose;
IAsyncResult ICommunicationObject.BeginClose(TimeSpan timeout, AsyncCallback callback, object state);
abstract member System.ServiceModel.ICommunicationObject.BeginClose : TimeSpan * AsyncCallback * obj -> IAsyncResult
override this.System.ServiceModel.ICommunicationObject.BeginClose : TimeSpan * AsyncCallback * obj -> IAsyncResult
Function BeginClose (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult Implements ICommunicationObject.BeginClose
Paramètres
- timeout
- TimeSpan
Période pendant laquelle l’appel doit se terminer.
- callback
- AsyncCallback
Objet de rappel appelé une fois l’opération terminée.
- state
- Object
Données d’état.
Retours
Qui IAsyncResult fait référence à l’opération de fermeture de début asynchrone.
Implémente
Remarques
Pour plus d’informations, consultez System.ServiceModel.Channels.CommunicationObject.