Share via


BasicHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Propriedade

Definição

Obtém um valor que indica se as solicitações de entrada são tratadas de forma síncrona ou assíncrona.

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 da propriedade

Boolean

Sempre false.

Implementações

Exemplos

Este exemplo obtém o valor ReceiveSynchronously.

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

Aplica-se a