.NET Framework 4.6 and 4.5
Gets a value that indicates whether incoming requests are handled synchronously or asynchronously.
This example gets the ReceiveSynchronously value.
BasicHttpBinding binding = new BasicHttpBinding();
IBindingRuntimePreferences s =
(binding as IBindingRuntimePreferences);
bool receiveSynchronously = s.ReceiveSynchronously;
Supported in: 4, 3.5, 3.0
.NET Framework Client Profile
Supported in: 4, 3.5 SP1