Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IBindingRuntimePreferences::ReceiveSynchronously Property

 

Gets a value that indicates whether incoming requests can be handled more efficiently synchronously or asynchronously.

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

property bool ReceiveSynchronously {
	bool get();
}

Property Value

Type: System::Boolean

true if requests can be handled more efficiently synchronously; otherwise false. The default is false, to handle requests asynchronously.

The standard (system-provided) bindings provided by Windows Communication Foundation (WCF) have implemented this interface and in some cases override the default value to process incoming messages synchronously.

public bool ReceiveSynchronously
{
    get { return true; }
}

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft