BasicHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Property

Gets a value that indicates whether incoming requests are handled synchronously or asynchronously.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Private ReadOnly Property ReceiveSynchronously As Boolean 
	Implements IBindingRuntimePreferences.ReceiveSynchronously

Property Value

Type: System.Boolean
Always false.



This example gets the ReceiveSynchronously value.

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

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1