NetTcpBinding.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 です。

実装

次の例では、TransferMode の値を取得する方法を示します。

    // P:System.ServiceModel.NetTcpBinding.System.ServiceModel.Channels.
// IBindingRuntimePreferences.ReceiveSynchronously
// Private, no example needed

注釈

サービスまたはクライアント アプリケーションでメッセージを受信するためのこの実行時動作は、synchronousReceive> を使用して<変更できます。

適用対象