Share via


ClientBase<TChannel>.ICommunicationObject.BeginClose Metoda

Definice

Zahájí asynchronní operaci, která zavře .ClientBase<TChannel>

Přetížení

ICommunicationObject.BeginClose(AsyncCallback, Object)

Zahájí asynchronní operaci, která zavře .ClientBase<TChannel>

ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Zahájí asynchronní operaci, která zavře objekt se ClientBase<TChannel> zadaným časovým limitem.

ICommunicationObject.BeginClose(AsyncCallback, Object)

Zdroj:
ClientBase.cs
Zdroj:
ClientBase.cs
Zdroj:
ClientBase.cs

Zahájí asynchronní operaci, která zavře .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

Parametry

callback
AsyncCallback

Metoda, která obdrží zpětné volání po dokončení.

state
Object

Stavová data.

Návraty

Odkazuje IAsyncResult na asynchronní operaci zavření.

Implementuje

Poznámky

Další informace naleznete v tématu System.ServiceModel.Channels.CommunicationObject.

Platí pro

ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Zdroj:
ClientBase.cs
Zdroj:
ClientBase.cs
Zdroj:
ClientBase.cs

Zahájí asynchronní operaci, která zavře objekt se ClientBase<TChannel> zadaným časovým limitem.

 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

Parametry

timeout
TimeSpan

Období, během kterého se musí hovor dokončit.

callback
AsyncCallback

Objekt zpětného volání vyvolaný po dokončení operace.

state
Object

Stavová data.

Návraty

Odkazuje IAsyncResult na asynchronní zahájení operace zavření.

Implementuje

Poznámky

Další informace naleznete v tématu System.ServiceModel.Channels.CommunicationObject.

Platí pro