次の方法で共有


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

注釈

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

適用対象