共用方式為


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 來變更在服務或用戶端應用程式中接收訊息的< 這個執行時間行為。 >

適用於