NetPeerTcpBinding.IBindingRuntimePreferences.ReceiveSynchronously 屬性

定義

取得值,指出是否要以同步或非同步方式處理經過這個繫結所建立之對等通道的傳入要求。Gets a value that indicates whether incoming requests over peer channels created by this binding 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

屬性值

Boolean

true 如果傳入要求是以同步方式處理, false 如果以非同步方式處理。true if incoming requests are handled synchronously; false if they are handled asynchronously. 預設值是 falseThe default value is false.

實作

備註

這個成員是明確介面成員實作,This member is an explicit interface member implementation. 只有在 NetPeerTcpBinding 執行個體轉換成 IBindingRuntimePreferences 介面時,才能使用這個成員。It can be used only when the NetPeerTcpBinding instance is cast to an IBindingRuntimePreferences interface.

適用於