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

Definition

Startet einen Vorgang, um ein Kommunikationsobjekt zu schließen.

Überlädt

ICommunicationObject.BeginClose(AsyncCallback, Object)

Startet einen asynchronen Vorgang, um ein Kommunikationsobjekt zu schließen.

ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Startet einen asynchronen Vorgang, um mit einem festgelegten Timeout ein Kommunikationsobjekt zu schließen.

ICommunicationObject.BeginClose(AsyncCallback, Object)

Quelle:
ClientBase.cs
Quelle:
ClientBase.cs
Quelle:
ClientBase.cs

Startet einen asynchronen Vorgang, um ein Kommunikationsobjekt zu schließen.

 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

Der AsyncCallback-Delegat, der die Benachrichtigung über den Abschluss des asynchronen Schließvorgangs empfängt.

state
Object

Ein von der Anwendung angegebenes Objekt, das dem asynchronen Schließvorgang zugeordnete Statusinformationen enthält.

Gibt zurück

Ein IAsyncResult, die auf den asynchronen Schließvorgang verweist.

Implementiert

Gilt für:

ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object)

Quelle:
ClientBase.cs
Quelle:
ClientBase.cs
Quelle:
ClientBase.cs

Startet einen asynchronen Vorgang, um mit einem festgelegten Timeout ein Kommunikationsobjekt zu schließen.

 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

Die Zeitspanne, die angibt, welcher Zeitraum für den Sendevorgang bleibt, bevor ein Timeout eintritt.

callback
AsyncCallback

Der AsyncCallback-Delegat, der die Benachrichtigung über den Abschluss des asynchronen Schließvorgangs empfängt.

state
Object

Ein von der Anwendung angegebenes Objekt, das dem asynchronen Schließvorgang zugeordnete Statusinformationen enthält.

Gibt zurück

Die IAsyncResult-Einstellung, die auf den asynchronen Schließvorgang verweist.

Implementiert

Gilt für: