BasicHttpRelayBinding BasicHttpRelayBinding Class

Represents a binding that a client can use to configure endpoints that can communicate with ASMX-based Web services and other services that conform to the WS-I Basic Profile 1.1.

Syntax

Declaration

public class BasicHttpRelayBinding : Binding, IDefaultCommunicationTimeouts, IBindingRuntimePreferencesPublic Class BasicHttpRelayBinding
    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 BasicHttpRelayBinding class.

Initializes a new instance of the BasicHttpRelayBinding class with a specified type of security used by the binding and the authentication type used by the client.

Initializes a new instance of the BasicHttpRelayBinding class using the specified configuration.

Properties summary

Gets or sets a value that determines if the client allows cookies.

Gets the version of SOAP that is used for messages that are processed by this binding.

Gets or sets how the host name should be compared.

Gets or sets whether the binding element is dynamic.

Gets or sets the maximum size allowed for a buffer pool that stores TCP messages processed by the binding.

Gets or sets the maximum size for a buffer that receives messages from the channel.

Gets or sets the maximum size for a message that can be received on a channel configured with this binding.

Gets or sets the type of message encoding.

Gets or sets the proxy address.

Gets or sets the reader quotas.

Gets the URI transport scheme for the channels and listeners that are configured with this binding.

Gets the collection of security bindings used with this binding.

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

Gets or sets the transfer mode.

Gets or sets a value that determines if the client uses the default web proxy.

Methods summary

Returns an ordered collection of binding elements contained in the current binding.

Explicit Interface Implementations summary

Constructors

  • BasicHttpRelayBinding()
    BasicHttpRelayBinding()

    Initializes a new instance of the BasicHttpRelayBinding class.

    public BasicHttpRelayBinding()Public Sub New
  • BasicHttpRelayBinding(EndToEndBasicHttpSecurityMode, RelayClientAuthenticationType)
    BasicHttpRelayBinding(EndToEndBasicHttpSecurityMode, RelayClientAuthenticationType)

    Initializes a new instance of the BasicHttpRelayBinding class with a specified type of security used by the binding and the authentication type used by the client.

    public BasicHttpRelayBinding(EndToEndBasicHttpSecurityMode securityMode, RelayClientAuthenticationType relayClientAuthenticationType)Public Sub New(securityMode As EndToEndBasicHttpSecurityMode, relayClientAuthenticationType As RelayClientAuthenticationType)

    Parameters

  • BasicHttpRelayBinding(String)
    BasicHttpRelayBinding(String)

    Initializes a new instance of the BasicHttpRelayBinding class using the specified configuration.

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

    Parameters

Properties

  • AllowCookies
    AllowCookies

    Gets or sets a value that determines if the client allows cookies.

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

    Property Value

  • EnvelopeVersion
    EnvelopeVersion

    Gets the version of SOAP that is used for messages that are processed by this binding.

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

    Property Value

  • HostNameComparisonMode
    HostNameComparisonMode

    Gets or sets how the host name should be compared.

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

    Property Value

  • IsDynamic
    IsDynamic

    Gets or sets whether the binding element is dynamic.

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

    Property Value

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

  • MaxBufferPoolSize
    MaxBufferPoolSize

    Gets or sets the maximum size allowed for a buffer pool that stores TCP messages processed by the binding.

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

    Property Value

    • The maximum size allowed for a buffer pool that stores TCP messages processed by the binding.

  • MaxBufferSize
    MaxBufferSize

    Gets or sets the maximum size for a buffer that receives messages from the channel.

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

    Property Value

    • Returns Int32.The maximum size, in bytes, of a buffer that stores messages while they are processed for an endpoint configured with this binding. The default value is 65,536 bytes.

  • MaxReceivedMessageSize
    MaxReceivedMessageSize

    Gets or sets the maximum size for a message that can be received on a channel configured with this binding.

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

    Property Value

    • Returns Int64.The maximum size, in bytes, for a message that is processed by the binding. The default value is 65,536 bytes.

  • MessageEncoding
    MessageEncoding

    Gets or sets the type of message encoding.

    public WSMessageEncoding MessageEncoding { get; set; }Public Property MessageEncoding As WSMessageEncoding

    Property Value

  • ProxyAddress
    ProxyAddress

    Gets or sets the proxy address.

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

    Property Value

    • Returns a Uri that contains the proxy address. The default value is null.

  • ReaderQuotas
    ReaderQuotas

    Gets or sets the reader quotas.

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

    Property Value

  • Scheme
    Scheme

    Gets the URI transport scheme for the channels and listeners that are configured with this binding.

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

    Property Value

    • The URI transport scheme for the channels and listeners that are configured with this binding.

  • Security
    Security

    Gets the collection of security bindings used with this binding.

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

    Property Value

    • Returns a BasicHttpRelaySecurity that contains the security settings used in the binding. The default value has EndToEndBasicSecurityMode set to Transport, RelayClientAuthenticationType set to RelayAccessToken, HttpRelayTransportSecurity with HttypProxyCredentialType of None, and BasicHttpRelayMessageSecurity with ClientCredentialType of BasicHttpMessageCredentialType.UserName and an AlgorithmSuite of SecurityAlgorithmSuite.Basic256.

  • TextEncoding
    TextEncoding

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

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

    Property Value

  • TransferMode
    TransferMode

    Gets or sets the transfer mode.

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

    Property Value

    • Returns a TransferMode that indicates whether the service configured with the binding uses streamed or buffered (or both) modes of message transfer. By default, the HTTP, TCP/IP, and named pipe transports use buffered message transfers. The default value is buffered.

  • UseDefaultWebProxy
    UseDefaultWebProxy

    Gets or sets a value that determines if the client uses the default web proxy.

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

    Property Value

    • Returns true if the client uses the default web proxy; otherwise, false. The default is true.

Methods

  • CreateBindingElements()
    CreateBindingElements()

    Returns an ordered collection of binding elements contained in the current binding.

    public override BindingElementCollection CreateBindingElements()Public Overrides Function CreateBindingElements As BindingElementCollection

    Returns

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