Compartir a través de


WSDualHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Propiedad

Definición

Obtiene un valor que indica si las solicitudes de entrada se administran de forma sincrónica o asincrónica.

property bool System::ServiceModel::Channels::IBindingRuntimePreferences::ReceiveSynchronously { bool get(); };
bool System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously { get; }
member this.System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously : bool
 ReadOnly Property ReceiveSynchronously As Boolean Implements IBindingRuntimePreferences.ReceiveSynchronously

Valor de propiedad

Boolean

true si se administran las solicitudes sincrónicamente; false si se administran de forma asincrónica. El valor devuelto es siempre es false, administrar de forma asincrónica las solicitudes.

Implementaciones

Ejemplos

En el siguiente ejemplo se muestra cómo obtener el valor IBindingRuntimePreferences.ReceiveSynchronously.

public class TcpChunkingBinding : IBindingRuntimePreferences
{
Public Class TcpChunkingBinding
    Implements IBindingRuntimePreferences
TcpChunkingBinding tcb = new TcpChunkingBinding();
bool isSynchronous = tcb.ReceiveSynchronously;
Dim tcb As New TcpChunkingBinding()
Dim isSynchronous As Boolean = tcb.ReceiveSynchronously

Comentarios

Este valor se puede cambiar utilizando un comportamiento de modelo de servicio.

Se aplica a