BasicHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Propiedad

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; }
member this.System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously : bool
 ReadOnly Property ReceiveSynchronously As Boolean Implements IBindingRuntimePreferences.ReceiveSynchronously

Valor de propiedad

Boolean

Siempre es false.Always false.

Implementaciones

Ejemplos

Este ejemplo obtiene el valor ReceiveSynchronously.This example gets the ReceiveSynchronously value.

BasicHttpBinding binding = new BasicHttpBinding();
IBindingRuntimePreferences s = (binding as IBindingRuntimePreferences);
bool receiveSynchronously = s.ReceiveSynchronously;

Se aplica a