ClientBase<TChannel>.ICommunicationObject.BeginClose Método
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Comienza una operación asincrónica para cerrar ClientBase<TChannel>.
ICommunicationObject.BeginClose(AsyncCallback, Object) |
Comienza una operación asincrónica para cerrar ClientBase<TChannel>. |
ICommunicationObject.BeginClose(TimeSpan, AsyncCallback, Object) |
Comienza una operación asincrónica para cerrar ClientBase<TChannel> con un tiempo de espera especificado. |
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
Comienza una operación asincrónica para cerrar 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
Parámetros
- callback
- AsyncCallback
Método que recibe la devolución de llamada al completarse.
- state
- Object
Datos de estado.
Devoluciones
IAsyncResult que hace referencia a la operación de cierre asincrónica.
Implementaciones
Comentarios
Para obtener más información, vea System.ServiceModel.Channels.CommunicationObject.
Se aplica a
.NET 10 (package-provided) y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |
- Source:
- ClientBase.cs
- Source:
- ClientBase.cs
Comienza una operación asincrónica para cerrar ClientBase<TChannel> con un tiempo de espera especificado.
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
Parámetros
- timeout
- TimeSpan
El período dentro del que la llamada se debe completar.
- callback
- AsyncCallback
El objeto de devolución de llamada invocado cuando la operación se completa.
- state
- Object
Datos de estado.
Devoluciones
IAsyncResult que hace referencia al inicio asincrónico de la operación de cierre.
Implementaciones
Comentarios
Para obtener más información, vea System.ServiceModel.Channels.CommunicationObject.
Se aplica a
.NET 10 (package-provided) y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: