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:
virtual property bool ReceiveSynchronously {
	bool get () sealed = IBindingRuntimePreferences::ReceiveSynchronously::get;
}

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: