Partager via


BasicHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Propriété

Définition

Obtient une valeur qui indique si les demandes entrantes sont gérées de façon synchrone ou asynchrone.

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

Valeur de propriété

Boolean

Toujours false.

Implémente

Exemples

Cet exemple obtient la valeur ReceiveSynchronously.

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

S’applique à