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

属性值

Boolean

true 如果可以更有效地同步处理请求,则为 ;否则 false。 默认值为 false,即异步处理请求。

实现

注解

IBindingRuntimePreferences.ReceiveSynchronouslytrue 时,ExactlyOnce 属性将设置为 true

适用于