Bagikan melalui


ClientBase<TChannel>.ChannelBase<T>.ICommunicationObject.BeginClose Metode

Definisi

Memulai operasi untuk menutup objek komunikasi.

Overload

ICommunicationObject.BeginClose(AsyncCallback, Object)

Memulai operasi asinkron untuk menutup objek komunikasi.

ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Memulai operasi asinkron untuk menutup objek komunikasi dengan waktu habis yang ditentukan.

ICommunicationObject.BeginClose(AsyncCallback, Object)

Sumber:
ClientBase.cs
Sumber:
ClientBase.cs
Sumber:
ClientBase.cs

Memulai operasi asinkron untuk menutup objek komunikasi.

 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

Parameter

callback
AsyncCallback

Delegasi AsyncCallback yang menerima pemberitahuan penyelesaian operasi penutupan asinkron.

state
Object

Objek yang ditentukan oleh aplikasi, yang berisi informasi status yang terkait dengan operasi penutupan asinkron.

Mengembalikan

Yang IAsyncResult mereferensikan operasi penutupan asinkron.

Penerapan

Berlaku untuk

ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Sumber:
ClientBase.cs
Sumber:
ClientBase.cs
Sumber:
ClientBase.cs

Memulai operasi asinkron untuk menutup objek komunikasi dengan waktu habis yang ditentukan.

 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

Parameter

timeout
TimeSpan

Rentang waktu yang menentukan berapa lama operasi pengiriman harus diselesaikan sebelum waktu habis.

callback
AsyncCallback

Delegasi AsyncCallback yang menerima pemberitahuan penyelesaian operasi penutupan asinkron.

state
Object

Objek, yang ditentukan oleh aplikasi, yang berisi informasi status yang terkait dengan operasi penutupan asinkron.

Mengembalikan

IAsyncResult yang mereferensikan operasi penutupan asinkron.

Penerapan

Berlaku untuk