ClientBase<TChannel>.ICommunicationObject.BeginClose Metodo

Definizione

Avvia un'operazione asincrona per chiudere l'oggetto ClientBase<TChannel>.

Overload

ICommunicationObject.BeginClose(AsyncCallback, Object)

Avvia un'operazione asincrona per chiudere l'oggetto ClientBase<TChannel>.

ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Avvia un'operazione asincrona per chiudere l'oggetto ClientBase<TChannel> entro un determinato intervallo di tempo.

ICommunicationObject.BeginClose(AsyncCallback, Object)

Origine:
ClientBase.cs
Origine:
ClientBase.cs
Origine:
ClientBase.cs

Avvia un'operazione asincrona per chiudere l'oggetto 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

Parametri

callback
AsyncCallback

Metodo che riceve il callback al completamento.

state
Object

Dati relativi allo stato.

Restituisce

Interfaccia IAsyncResult che fa riferimento all'operazione di chiusura asincrona.

Implementazioni

Commenti

Per altre informazioni, vedere System.ServiceModel.Channels.CommunicationObject.

Si applica a

ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Origine:
ClientBase.cs
Origine:
ClientBase.cs
Origine:
ClientBase.cs

Avvia un'operazione asincrona per chiudere l'oggetto ClientBase<TChannel> entro un determinato intervallo di tempo.

 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

Parametri

timeout
TimeSpan

Periodo entro il quale la chiamata deve essere completata.

callback
AsyncCallback

Oggetto di callback richiamato al completamento dell'operazione.

state
Object

Dati relativi allo stato.

Restituisce

InterfacciaIAsyncResult che fa riferimento all'operazione di avvio chiusura asincrona.

Implementazioni

Commenti

Per altre informazioni, vedere System.ServiceModel.Channels.CommunicationObject.

Si applica a