BasicHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Vlastnost

Definice

Získá hodnotu, která označuje, zda se příchozí požadavky zpracovávají synchronně nebo asynchronně.

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

Hodnota vlastnosti

Boolean

Vždy hodnota false.

Implementuje

Příklady

Tento příklad získá hodnotu ReceiveSynchronously.

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

Platí pro