Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WebHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Property

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

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

bool IBindingRuntimePreferences.ReceiveSynchronously { get; }

Property Value

Type: System.Boolean
true if incoming requests are handled synchronously; false if incoming requests are handled asynchronously. The default value is false.

Implements

IBindingRuntimePreferences.ReceiveSynchronously

This run-time behavior for receiving messages in either a service or client application can be changed using the <synchronousReceive> element.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 3.5 SP1
Show:
© 2015 Microsoft