WebHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

private abstract ReceiveSynchronously : bool with get
private override ReceiveSynchronously : bool with 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.

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

.NET Framework
Available since 3.5
Return to top
Show: