RelayedOnewayTransportBindingElement RelayedOnewayTransportBindingElement Class

Represents the transport binding element used for one-way communication.

Syntax

Declaration

public class RelayedOnewayTransportBindingElement : TransportBindingElement, IPolicyExportExtensionPublic Class RelayedOnewayTransportBindingElement
    Inherits TransportBindingElement
    Implements IPolicyExportExtension

Inheritance Hierarchy

Constructors summary

Initializes a new instance of the RelayedOnewayTransportBindingElement class.

Initializes a new instance of the RelayedOnewayTransportBindingElement class, using the specified authentication type.

Initializes a new instance of the RelayedOnewayTransportBindingElement class, using the specified authentication type and connection mode.

Initializes a new instance of the RelayedOnewayTransportBindingElement class, using the specified element.

Properties summary

Gets or sets the maximum time a channel can be in the initialization status before being disconnected.

Gets or sets the size of the buffer used to transmit a part of the serialized message on the wire from the client or service.

Gets the connection mode used in this binding element. The connection mode can be one of the RelayedOnewayConnectionMode enumeration values.

Gets the connection pool settings for the current instance.

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

Gets or sets the maximum size in bytes of the buffer that holds incoming messages that are processed by this binding.

Gets or sets the maximum interval of time that a message or a portion of a message can remain buffered in memory before being sent out.

Gets or sets the maximum number of pending asynchronous accept threads that are available for processing incoming connections on the service.

Gets or sets the maximum number of pending connections.

Gets or sets the type of Azure Access Control authentication used by this binding element.

Gets the URI scheme used by this binding element.

Methods summary

Creates a channel factory for creating channels of the specified type and that is initialized from the specified binding context.

Creates a channel listener that accepts channels of the specified type and that is initialized from the specified binding context.

Returns a value that indicates whether this binding element can build a channel factory of the specified type.

Returns a value that indicates whether the binding element can build a channel listener for the specified type of channel.

Returns a copy of this instance of the RelayedOnewayTransportBindingElement binding element.

Returns an object of the requested type, if present, from the appropriate layer in the binding stack.

Explicit Interface Implementations summary

Constructors

  • RelayedOnewayTransportBindingElement()
    RelayedOnewayTransportBindingElement()

    Initializes a new instance of the RelayedOnewayTransportBindingElement class.

    public RelayedOnewayTransportBindingElement()Public Sub New
  • RelayedOnewayTransportBindingElement(RelayClientAuthenticationType)
    RelayedOnewayTransportBindingElement(RelayClientAuthenticationType)

    Initializes a new instance of the RelayedOnewayTransportBindingElement class, using the specified authentication type.

    public RelayedOnewayTransportBindingElement(RelayClientAuthenticationType relayClientAuthenticationType)Public Sub New(relayClientAuthenticationType As RelayClientAuthenticationType)

    Parameters

  • RelayedOnewayTransportBindingElement(RelayClientAuthenticationType, RelayedOnewayConnectionMode)
    RelayedOnewayTransportBindingElement(RelayClientAuthenticationType, RelayedOnewayConnectionMode)

    Initializes a new instance of the RelayedOnewayTransportBindingElement class, using the specified authentication type and connection mode.

    public RelayedOnewayTransportBindingElement(RelayClientAuthenticationType relayClientAuthenticationType, RelayedOnewayConnectionMode connectionMode)Public Sub New(relayClientAuthenticationType As RelayClientAuthenticationType, connectionMode As RelayedOnewayConnectionMode)

    Parameters

  • RelayedOnewayTransportBindingElement(RelayedOnewayTransportBindingElement)
    RelayedOnewayTransportBindingElement(RelayedOnewayTransportBindingElement)

    Initializes a new instance of the RelayedOnewayTransportBindingElement class, using the specified element.

    public RelayedOnewayTransportBindingElement(RelayedOnewayTransportBindingElement elementToClone)Public Sub New(elementToClone As RelayedOnewayTransportBindingElement)

    Parameters

Properties

  • ChannelInitializationTimeout
    ChannelInitializationTimeout

    Gets or sets the maximum time a channel can be in the initialization status before being disconnected.

    public TimeSpan ChannelInitializationTimeout { get; set; }Public Property ChannelInitializationTimeout As TimeSpan

    Property Value

    • The maximum time a channel can be in the initialization status before being disconnected.

  • ConnectionBufferSize
    ConnectionBufferSize

    Gets or sets the size of the buffer used to transmit a part of the serialized message on the wire from the client or service.

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

    Property Value

    • The size of the buffer used to transmit a part of the serialized message on the wire from the client or service.

  • ConnectionMode
    ConnectionMode

    Gets the connection mode used in this binding element. The connection mode can be one of the RelayedOnewayConnectionMode enumeration values.

    public RelayedOnewayConnectionMode ConnectionMode { get; set; }Public Property ConnectionMode As RelayedOnewayConnectionMode

    Property Value

  • ConnectionPoolSettings
    ConnectionPoolSettings

    Gets the connection pool settings for the current instance.

    public SocketConnectionPoolSettings ConnectionPoolSettings { get; }Public ReadOnly Property ConnectionPoolSettings As SocketConnectionPoolSettings

    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

    • The maximum number of queued connection.

  • MaxBufferSize
    MaxBufferSize

    Gets or sets the maximum size in bytes of the buffer that holds incoming messages that are processed by this binding.

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

    Property Value

    • The maximum size in bytes of the buffer that holds incoming messages that are processed by this binding.

  • MaxOutputDelay
    MaxOutputDelay

    Gets or sets the maximum interval of time that a message or a portion of a message can remain buffered in memory before being sent out.

    public TimeSpan MaxOutputDelay { get; set; }Public Property MaxOutputDelay As TimeSpan

    Property Value

    • The maximum interval of time that a message or a portion of a message can remain buffered in memory before being sent out.

  • MaxPendingAccepts
    MaxPendingAccepts

    Gets or sets the maximum number of pending asynchronous accept threads that are available for processing incoming connections on the service.

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

    Property Value

    • The maximum number of pending asynchronous accept threads that are available for processing incoming connections on the service.

  • MaxPendingConnections
    MaxPendingConnections

    Gets or sets the maximum number of pending connections.

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

    Property Value

    • The maximum number of pending connections.

  • RelayClientAuthenticationType
    RelayClientAuthenticationType

    Gets or sets the type of Azure Access Control authentication used by this binding element.

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

    Property Value

  • Scheme
    Scheme

    Gets the URI scheme used by this binding element.

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

    Property Value

    • The URI scheme used by this binding element. The value returned is “sb”.

Methods

  • BuildChannelFactory<TChannel>(BindingContext)
    BuildChannelFactory(Of TChannel)(BindingContext)

    Creates a channel factory for creating channels of the specified type and that is initialized from the specified binding context.

    public override IChannelFactory<TChannel> BuildChannelFactory<TChannel>(BindingContext context)Public Overrides Function BuildChannelFactory(Of TChannel)(context As BindingContext) As IChannelFactory(Of TChannel)

    Parameters

    Returns

    • IChannelFactory<TChannel>
      IChannelFactory(Of TChannel)

      A channel factory for creating channels of the specified type and that is initialized from the specified binding context.

  • BuildChannelListener<TChannel>(BindingContext)
    BuildChannelListener(Of TChannel)(BindingContext)

    Creates a channel listener that accepts channels of the specified type and that is initialized from the specified binding context.

    public override IChannelListener<TChannel> BuildChannelListener<TChannel>(BindingContext context)where TChannel : class, IChannelPublic Overrides Function BuildChannelListener(Of TChannel As {Class, IChannel})(context As BindingContext) As IChannelListener(Of TChannel)

    Parameters

    Returns

    • IChannelListener(Of TChannel)

      A channel listener that accepts channels of the specified type and that is initialized from the specified binding context.

  • CanBuildChannelFactory<TChannel>(BindingContext)
    CanBuildChannelFactory(Of TChannel)(BindingContext)

    Returns a value that indicates whether this binding element can build a channel factory of the specified type.

    public override bool CanBuildChannelFactory<TChannel>(BindingContext context)Public Overrides Function CanBuildChannelFactory(Of TChannel)(context As BindingContext) As Boolean

    Parameters

    Returns

    • true if a channel factory can be built; otherwise false.

  • CanBuildChannelListener<TChannel>(BindingContext)
    CanBuildChannelListener(Of TChannel)(BindingContext)

    Returns a value that indicates whether the binding element can build a channel listener for the specified type of channel.

    public override bool CanBuildChannelListener<TChannel>(BindingContext context)where TChannel : class, IChannelPublic Overrides Function CanBuildChannelListener(Of TChannel As {Class, IChannel})(context As BindingContext) As Boolean

    Parameters

    Returns

    • true if a channel listener can be built for the specified type of channel; otherwise, false.

  • Clone()
    Clone()

    Returns a copy of this instance of the RelayedOnewayTransportBindingElement binding element.

    public override BindingElement Clone()Public Overrides Function Clone As BindingElement

    Returns

  • GetProperty<T>(BindingContext)
    GetProperty(Of T)(BindingContext)

    Returns an object of the requested type, if present, from the appropriate layer in the binding stack.

    public override T GetProperty<T>(BindingContext context)where T : classPublic Overrides Function GetProperty(Of T As Class)(context As BindingContext) As T

    Parameters

    Returns

    • T
      T

      The object of the requested type if found; otherwise, returns null.

Explicit Interface Implementations

  • IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)
    System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)
    void IPolicyExportExtension.ExportPolicy(MetadataExporter exporter, PolicyConversionContext context)Sub System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(exporter As MetadataExporter, context As PolicyConversionContext) Implements IPolicyExportExtension.ExportPolicy

    Parameters

Details

Assembly

Microsoft.ServiceBus.dll