NetOnewayRelayBinding NetOnewayRelayBinding Class

Represents a binding for a secure, one-way connection through the cloud.

Syntax

Declaration

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

Initializes a new instance of the NetOnewayRelayBinding class, using the specified security mode and authentication type.

Initializes a new instance of the NetOnewayRelayBinding class, using the specified security settings.

Initializes a new instance of the NetOnewayRelayBinding class, using the specified connection and security modes, as well as the authentication type.

Initializes a new instance of theNetOnewayRelayBinding class, using the specified transport, encoding, and security.

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

Fields summary

Represents the encoding for the binding.Along with the security settings and transport type, the encoding represents the three core properties of a binding.

Specifies the transport type for the binding.Along with the encoding and security settings, the transport type represents the three core properties of a binding.

Properties summary

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

Gets or sets the maximum number of queued connection requests that can be pending.

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

Gets or sets a value that specifies the maximum size, in bytes, of the buffer used to store messages in memory.

Gets or sets a value that controls the maximum number of connections to be pooled for subsequent reuse on the client and the maximum number of connections allowed to be pending dispatch on the server.

Gets or sets the maximum size for a received message that is processed by the binding.

Gets the message security version.

Gets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.

Gets the URI scheme for the transport.

Gets an object that specifies the type of security used with services configured with this binding.

Methods summary

Applies the settings from the configuration element that corresponds to the specified name to the current instance of this binding element.

Creates a set of binding elements.

Explicit Interface Implementations summary

Constructors

  • NetOnewayRelayBinding()
    NetOnewayRelayBinding()

    Initializes a new instance of the NetOnewayRelayBinding class.

    public NetOnewayRelayBinding()Public Sub New
  • NetOnewayRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType)
    NetOnewayRelayBinding(EndToEndSecurityMode, RelayClientAuthenticationType)

    Initializes a new instance of the NetOnewayRelayBinding class, using the specified security mode and authentication type.

    public NetOnewayRelayBinding(EndToEndSecurityMode securityMode, RelayClientAuthenticationType relayClientAuthenticationType)Public Sub New(securityMode As EndToEndSecurityMode, relayClientAuthenticationType As RelayClientAuthenticationType)

    Parameters

  • NetOnewayRelayBinding(NetOnewayRelaySecurity)
    NetOnewayRelayBinding(NetOnewayRelaySecurity)

    Initializes a new instance of the NetOnewayRelayBinding class, using the specified security settings.

    protected NetOnewayRelayBinding(NetOnewayRelaySecurity security)Protected Sub New(security As NetOnewayRelaySecurity)

    Parameters

  • NetOnewayRelayBinding(RelayedOnewayConnectionMode, EndToEndSecurityMode, RelayClientAuthenticationType)
    NetOnewayRelayBinding(RelayedOnewayConnectionMode, EndToEndSecurityMode, RelayClientAuthenticationType)

    Initializes a new instance of the NetOnewayRelayBinding class, using the specified connection and security modes, as well as the authentication type.

    protected NetOnewayRelayBinding(RelayedOnewayConnectionMode connectionMode, EndToEndSecurityMode securityMode, RelayClientAuthenticationType relayClientAuthenticationType)Protected Sub New(connectionMode As RelayedOnewayConnectionMode, securityMode As EndToEndSecurityMode, relayClientAuthenticationType As RelayClientAuthenticationType)

    Parameters

  • NetOnewayRelayBinding(RelayedOnewayTransportBindingElement, BinaryMessageEncodingBindingElement, NetOnewayRelaySecurity)
    NetOnewayRelayBinding(RelayedOnewayTransportBindingElement, BinaryMessageEncodingBindingElement, NetOnewayRelaySecurity)

    Initializes a new instance of theNetOnewayRelayBinding class, using the specified transport, encoding, and security.

    protected NetOnewayRelayBinding(RelayedOnewayTransportBindingElement transport, BinaryMessageEncodingBindingElement encoding, NetOnewayRelaySecurity security)Protected Sub New(transport As RelayedOnewayTransportBindingElement, encoding As BinaryMessageEncodingBindingElement, security As NetOnewayRelaySecurity)

    Parameters

  • NetOnewayRelayBinding(String)
    NetOnewayRelayBinding(String)

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

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

    Parameters

    • configurationName

      The name of the configuration to use.

Fields

  • encoding
    encoding

    Represents the encoding for the binding.Along with the security settings and transport type, the encoding represents the three core properties of a binding.

    protected BinaryMessageEncodingBindingElement encodingProtected encoding As BinaryMessageEncodingBindingElement
  • transport
    transport

    Specifies the transport type for the binding.Along with the encoding and security settings, the transport type represents the three core properties of a binding.

    protected RelayedOnewayTransportBindingElement transportProtected transport As RelayedOnewayTransportBindingElement

Properties

  • EnvelopeVersion
    EnvelopeVersion

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

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

    Property Value

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

    Property Value

  • ListenBacklog
    ListenBacklog

    Gets or sets the maximum number of queued connection requests that can be pending.

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

    Property Value

    • Returns the maximum number of queued connection requests that can be pending. The default is 10.

  • MaxBufferPoolSize
    MaxBufferPoolSize

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

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

    Property Value

    • Returns the maximum size allowed for a buffer pool that stores messages processed by the binding. The default value is 65,536 bytes.

  • MaxBufferSize
    MaxBufferSize

    Gets or sets a value that specifies the maximum size, in bytes, of the buffer used to store messages in memory.

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

    Property Value

    • Returns the maximum size, in bytes, of the buffer used to store messages in memory. The default value is 65,536 bytes.

  • MaxConnections
    MaxConnections

    Gets or sets a value that controls the maximum number of connections to be pooled for subsequent reuse on the client and the maximum number of connections allowed to be pending dispatch on the server.

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

    Property Value

    • On the client, returns the maximum number of connections to be pooled for subsequent reuse; on the server, returns the maximum number of connections allowed to be pending dispatch.

  • MaxReceivedMessageSize
    MaxReceivedMessageSize

    Gets or sets the maximum size for a received message that is processed by the binding.

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

    Property Value

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

  • MessageSecurityVersion
    MessageSecurityVersion

    Gets the message security version.

    protected MessageSecurityVersion MessageSecurityVersion { get; }Protected ReadOnly Property MessageSecurityVersion As MessageSecurityVersion

    Property Value

  • ReaderQuotas
    ReaderQuotas

    Gets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.

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

    Property Value

  • Scheme
    Scheme

    Gets the URI scheme for the transport.

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

    Property Value

    • Returns the URI scheme for the transport. The default value is “sb”, indicating the Azure Service Bus.

  • Security
    Security

    Gets an object that specifies the type of security used with services configured with this binding.

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

    Property Value

Methods

  • ApplyConfiguration(String)
    ApplyConfiguration(String)

    Applies the settings from the configuration element that corresponds to the specified name to the current instance of this binding element.

    protected virtual void ApplyConfiguration(string configurationName)Protected Overridable Sub ApplyConfiguration(configurationName As String)

    Parameters

    • configurationName

      The name of the configuration element to take the settings from.

  • CreateBindingElements()
    CreateBindingElements()

    Creates a set of binding elements.

    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