WebHttpRelayBinding WebHttpRelayBinding Class

A binding used to configure endpoints for Web services that are exposed through HTTP requests instead of SOAP messages.

Syntax

Declaration

public class WebHttpRelayBinding : Binding, IDefaultCommunicationTimeouts, IBindingRuntimePreferencesPublic Class WebHttpRelayBinding
    Inherits Binding
    Implements IDefaultCommunicationTimeouts, IBindingRuntimePreferences

Inheritance Hierarchy

Inherited Members

, , , , , , , , , ,
BuildChannelListener(Uri, String, System.ServiceModel.Description.ListenUriMode, Object[])
BuildChannelListener(Of TChannel)(Uri, String, System.ServiceModel.Description.ListenUriMode, Object())
,
BuildChannelListener(Uri, String, System.ServiceModel.Description.ListenUriMode, Object[])
BuildChannelListener(Of TChannel)(Uri, String, System.ServiceModel.Description.ListenUriMode, Object())
, , , , , , ,
BuildChannelListener(Uri, String, System.ServiceModel.Description.ListenUriMode, BindingParameterCollection)
BuildChannelListener(Of TChannel)(Uri, String, System.ServiceModel.Description.ListenUriMode, BindingParameterCollection)
,
BuildChannelListener(Uri, String, System.ServiceModel.Description.ListenUriMode, BindingParameterCollection)
BuildChannelListener(Of TChannel)(Uri, String, System.ServiceModel.Description.ListenUriMode, BindingParameterCollection)
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Constructors summary

Initializes a new instance of the WebHttpRelayBinding class.

Initializes a new instance of the WebHttpRelayBinding class using the specified type of security and relay client authentication.

Initializes a new instance of the WebHttpRelayBinding class using the specified configuration name.

Properties summary

Gets or sets a value that specifies whether cookies are allowed in the messages sent via the WebHttpRelayBinding.

Gets or sets the content type mapper.

Gets the SOAP envelope version.

Gets or sets the comparison mode used on the host name.

Gets or sets whether the relay binding is dynamic.

Gets or sets the maximum buffer pool size used by the transport.

Gets or sets the maximum buffer size supported by the transport.

Gets or sets the maximum allowable message size that can be received.

Gets or sets a URI that contains the address of the proxy to use for HTTP requests.

Gets or sets xml reader quotas on the messages processed.

Gets the scheme for the endpoints used with the binding.

Gets the security settings for the current instance.

Gets or sets the transfer mode.

Gets or sets a value that indicates whether the machine-wide proxy settings are used rather than the user specific settings.

Gets or sets the character encoding that is used to write the message text.

Methods summary

Creates a collection with the binding elements for the binding.

Explicit Interface Implementations summary

Constructors

  • WebHttpRelayBinding()
    WebHttpRelayBinding()

    Initializes a new instance of the WebHttpRelayBinding class.

    public WebHttpRelayBinding()Public Sub New
  • WebHttpRelayBinding(EndToEndWebHttpSecurityMode, RelayClientAuthenticationType)
    WebHttpRelayBinding(EndToEndWebHttpSecurityMode, RelayClientAuthenticationType)

    Initializes a new instance of the WebHttpRelayBinding class using the specified type of security and relay client authentication.

    public WebHttpRelayBinding(EndToEndWebHttpSecurityMode securityMode, RelayClientAuthenticationType relayClientAuthenticationType)Public Sub New(securityMode As EndToEndWebHttpSecurityMode, relayClientAuthenticationType As RelayClientAuthenticationType)

    Parameters

  • WebHttpRelayBinding(String)
    WebHttpRelayBinding(String)

    Initializes a new instance of the WebHttpRelayBinding class using the specified configuration name.

    public WebHttpRelayBinding(string configurationName)Public Sub New(configurationName As String)

    Parameters

Properties

  • AllowCookies
    AllowCookies

    Gets or sets a value that specifies whether cookies are allowed in the messages sent via the WebHttpRelayBinding.

    public bool AllowCookies { get; set; }Public Property AllowCookies As Boolean

    Property Value

    • Returns true if cookies are allowed; otherwise, false. The default value is false.

  • ContentTypeMapper
    ContentTypeMapper

    Gets or sets the content type mapper.

    public WebContentTypeMapper ContentTypeMapper { get; set; }Public Property ContentTypeMapper As WebContentTypeMapper

    Property Value

  • EnvelopeVersion
    EnvelopeVersion

    Gets the SOAP envelope version.

    public EnvelopeVersion EnvelopeVersion { get; }Public ReadOnly Property EnvelopeVersion As EnvelopeVersion

    Property Value

  • HostNameComparisonMode
    HostNameComparisonMode

    Gets or sets the comparison mode used on the host name.

    public HostNameComparisonMode HostNameComparisonMode { get; set; }Public Property HostNameComparisonMode As HostNameComparisonMode

    Property Value

  • IsDynamic
    IsDynamic

    Gets or sets whether the relay binding is dynamic.

    public bool IsDynamic { get; set; }Public Property IsDynamic As Boolean

    Property Value

    • true if the relay binding is dynamic; otherwise, false.

  • MaxBufferPoolSize
    MaxBufferPoolSize

    Gets or sets the maximum buffer pool size used by the transport.

    public long MaxBufferPoolSize { get; set; }Public Property MaxBufferPoolSize As Long

    Property Value

    • Returns the maximum buffer pool size. The default is 524288 bytes.

  • MaxBufferSize
    MaxBufferSize

    Gets or sets the maximum buffer size supported by the transport.

    public int MaxBufferSize { get; set; }Public Property MaxBufferSize As Integer

    Property Value

  • MaxReceivedMessageSize
    MaxReceivedMessageSize

    Gets or sets the maximum allowable message size that can be received.

    public long MaxReceivedMessageSize { get; set; }Public Property MaxReceivedMessageSize As Long

    Property Value

    • Returns the maximum allowable message size. The default size is 65,536 bytes.

  • ProxyAddress
    ProxyAddress

    Gets or sets a URI that contains the address of the proxy to use for HTTP requests.

    public Uri ProxyAddress { get; set; }Public Property ProxyAddress As Uri

    Property Value

    • Returns a Uri that contains the address of the proxy to use for HTTP requests. The default value is null.

  • ReaderQuotas
    ReaderQuotas

    Gets or sets xml reader quotas on the messages processed.

    public XmlDictionaryReaderQuotas ReaderQuotas { get; set; }Public Property ReaderQuotas As XmlDictionaryReaderQuotas

    Property Value

  • Scheme
    Scheme

    Gets the scheme for the endpoints used with the binding.

    public override string Scheme { get; }Public Overrides ReadOnly Property Scheme As String

    Property Value

  • Security
    Security

    Gets the security settings for the current instance.

    public WebHttpRelaySecurity Security { get; }Public ReadOnly Property Security As WebHttpRelaySecurity

    Property Value

  • TransferMode
    TransferMode

    Gets or sets the transfer mode.

    public TransferMode TransferMode { get; set; }Public Property TransferMode As TransferMode

    Property Value

  • UseDefaultWebProxy
    UseDefaultWebProxy

    Gets or sets a value that indicates whether the machine-wide proxy settings are used rather than the user specific settings.

    public bool UseDefaultWebProxy { get; set; }Public Property UseDefaultWebProxy As Boolean

    Property Value

    • true if machine-wide proxy settings are used. Otherwise false. The default setting is true.

  • WriteEncoding
    WriteEncoding

    Gets or sets the character encoding that is used to write the message text.

    public Encoding WriteEncoding { get; set; }Public Property WriteEncoding As Encoding

    Property Value

Methods

Explicit Interface Implementations

  • IBindingRuntimePreferences.ReceiveSynchronously
    System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously
    bool IBindingRuntimePreferences.ReceiveSynchronously { get; }ReadOnly WriteOnly Property System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously As Boolean Implements IBindingRuntimePreferences.ReceiveSynchronously

    Returns

Details

Assembly

Microsoft.ServiceBus.dll