BasicHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Proprietà

Definizione

Ottiene un valore che indica se le richieste in entrata vengono gestite in modo sincrono o in modo asincrono.

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

Valore della proprietà

Boolean

Sempre false.

Implementazioni

Esempio

In questo esempio viene ottenuto il valore ReceiveSynchronously.

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

Si applica a