Share via


HttpBinding.IBindingRuntimePreferences.ReceiveSynchronously Property

Gets a value that indicates whether incoming requests are handled synchronously or asynchronously.

Namespace:  System.Web.Http.SelfHost.Channels
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)

Syntax

'Declaration
Private ReadOnly Property ReceiveSynchronously As Boolean
    Implements IBindingRuntimePreferences.ReceiveSynchronously
    Get
'Usage
Dim instance As HttpBinding
Dim value As Boolean

value = CType(instance, IBindingRuntimePreferences).ReceiveSynchronously
bool IBindingRuntimePreferences.ReceiveSynchronously { get; }
private:
virtual property bool ReceiveSynchronously {
    bool get () sealed = IBindingRuntimePreferences::ReceiveSynchronously::get;
}
private abstract ReceiveSynchronously : bool
private override ReceiveSynchronously : bool
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: System.Boolean
true if requests are handled synchronously; false if handled asynchronously.

Implements

IBindingRuntimePreferences.ReceiveSynchronously

See Also

Reference

HttpBinding Class

System.Web.Http.SelfHost.Channels Namespace