ClientBase<TChannel>.ICommunicationObject.BeginClose Méthode

Définition

Commence une opération asynchrone pour fermer l'objet ClientBase<TChannel>.

Surcharges

ICommunicationObject.BeginClose(AsyncCallback, Object)

Commence une opération asynchrone pour fermer l'objet ClientBase<TChannel>.

ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Commence une opération asynchrone pour fermer l'objet ClientBase<TChannel> dans un délai d'attente spécifié.

ICommunicationObject.BeginClose(AsyncCallback, Object)

Source:
ClientBase.cs
Source:
ClientBase.cs
Source:
ClientBase.cs

Commence une opération asynchrone pour fermer l'objet 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 au terme de l'opération.

state
Object

Données d'état.

Retours

IAsyncResult qui 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 l'objet ClientBase<TChannel> dans un délai d'attente 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 au cours de laquelle l'appel doit être exécuté.

callback
AsyncCallback

Objet de rappel appelé au terme de l'opération.

state
Object

Données d'état.

Retours

IAsyncResult qui référence l'opération asynchrone de début de la fermeture.

Implémente

Remarques

Pour plus d’informations, consultez System.ServiceModel.Channels.CommunicationObject.

S’applique à