NetPeerTcpBinding.IBindingRuntimePreferences.ReceiveSynchronously 属性

定义

获取一个值,它指示此绑定创建的对等通道上的传入请求是同步处理传入请求还是异步处理。

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

属性值

true 如果以同步方式处理传入请求,则为 ; false 如果异步处理它们,则为 。 默认值是 false

实现

注解

此成员是显式接口成员的实现。 它只能在 NetPeerTcpBinding 实例被强制转换为 IBindingRuntimePreferences 接口时使用。

适用于