WSDualHttpBinding.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 であり、要求は非同期で処理されます。

実装

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

public class TcpChunkingBinding : IBindingRuntimePreferences
{
Public Class TcpChunkingBinding
    Implements IBindingRuntimePreferences
TcpChunkingBinding tcb = new TcpChunkingBinding();
bool isSynchronous = tcb.ReceiveSynchronously;
Dim tcb As New TcpChunkingBinding()
Dim isSynchronous As Boolean = tcb.ReceiveSynchronously

注釈

この値は、サービス モデル動作を使用して変更できます。

適用対象