Condividi tramite


WSDualHttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Proprietà

Definizione

Ottiene un valore che indica se le richieste in ingresso vengono gestite in modo sincrono o asincrono.

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

Valore della proprietà

true se le richieste vengono gestite in modo sincrono; false se gestito in modo asincrono. Il valore restituito è sempre false, per gestire le richieste in modo asincrono.

Implementazioni

Esempio

Negli esempi seguenti viene illustrato come ottenere il IBindingRuntimePreferences.ReceiveSynchronously valore.

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

Commenti

Questo valore può essere modificato usando un comportamento del modello di servizio.

Si applica a