WebHttpBinding.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

实现

注解

可以使用 synchronousReceive 更改在服务或客户端应用程序中接收消息的<此运行时行为。>

适用于