Muokkaa

Jaa


NetTcpBinding.IBindingRuntimePreferences.ReceiveSynchronously Property

Definition

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

property bool System::ServiceModel::Channels::IBindingRuntimePreferences::ReceiveSynchronously { bool get(); };
bool System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously { get; }
member this.System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously : bool
 ReadOnly Property ReceiveSynchronously As Boolean Implements IBindingRuntimePreferences.ReceiveSynchronously

Property Value

true if incoming requests are handled synchronously; false if incoming requests are handled asynchronously. The default value is false.

Implements

Examples

This example shows how to get the TransferMode value.

    // P:System.ServiceModel.NetTcpBinding.System.ServiceModel.Channels.
// IBindingRuntimePreferences.ReceiveSynchronously
// Private, no example needed

Remarks

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

Applies to