BasicHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Свойство

Определение

Возвращает значение, указывающее, синхронно или асинхронно обрабатываются входящие запросы.

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

Значение свойства

Boolean

Всегда false.

Реализации

Примеры

В этом примере показано возвращение значения ReceiveSynchronously.

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

Применяется к