ClientBase<TChannel>.ICommunicationObject.BeginClose Metod

Definition

Påbörjar en asynkron åtgärd för att stänga ClientBase<TChannel>.

Överlagringar

Name Description
ICommunicationObject.BeginClose(AsyncCallback, Object)

Påbörjar en asynkron åtgärd för att stänga ClientBase<TChannel>.

ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Påbörjar en asynkron åtgärd för att stänga ClientBase<TChannel> med en angiven tidsgräns.

ICommunicationObject.BeginClose(AsyncCallback, Object)

Källa:
ClientBase.cs
Källa:
ClientBase.cs
Källa:
ClientBase.cs

Påbörjar en asynkron åtgärd för att stänga 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

Parametrar

callback
AsyncCallback

Den metod som tar emot återanropet när det är klart.

state
Object

Tillståndsdata.

Returer

Det IAsyncResult som refererar till den asynkrona stängningsåtgärden.

Implementeringar

Kommentarer

Mer information finns i System.ServiceModel.Channels.CommunicationObject.

Gäller för

ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Källa:
ClientBase.cs
Källa:
ClientBase.cs
Källa:
ClientBase.cs

Påbörjar en asynkron åtgärd för att stänga ClientBase<TChannel> med en angiven tidsgräns.

 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

Parametrar

timeout
TimeSpan

Den period inom vilken anropet måste slutföras.

callback
AsyncCallback

Motringningsobjektet som anropades när åtgärden slutfördes.

state
Object

Tillståndsdata.

Returer

Det IAsyncResult som refererar till den asynkrona åtgärden börjar stänga.

Implementeringar

Kommentarer

Mer information finns i System.ServiceModel.Channels.CommunicationObject.

Gäller för