Export (0) Print
Expand All

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)

'Declaration
Private ReadOnly Property ReceiveSynchronously As Boolean 
	Implements IBindingRuntimePreferences.ReceiveSynchronously

Property Value

Type: System.Boolean
Always false.

Implements

IBindingRuntimePreferences.ReceiveSynchronously

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
Show:
© 2015 Microsoft