WSDualHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously WSDualHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously WSDualHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Property

Definición

Obtiene un valor que indica si las solicitudes de entrada se administran de forma sincrónica o asincrónica.Gets a value that indicates whether incoming requests are handled synchronously or asynchronously.

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

Valor de propiedad

true si se administran las solicitudes sincrónicamente; false si se administran de forma asincrónica.true if requests are handled synchronously; false if handled asynchronously. El valor devuelto es siempre es false, administrar de forma asincrónica las solicitudes.The value returned is always is false, to handle requests asynchronously.

Implementaciones

Ejemplos

En el siguiente ejemplo se muestra cómo obtener el valor IBindingRuntimePreferences.ReceiveSynchronously.The following examples show how to get the IBindingRuntimePreferences.ReceiveSynchronously value.

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.This value can be changed by using a service model behavior.

Se aplica a