Table of Contents

Class RelayedOnewayTransportElement

Namespace
Microsoft.ServiceBus.Configuration
Assembly
Microsoft.ServiceBus.dll

Represents a configuration element that, when included in a custom binding, specifies a channel to transfer one-way messages through the Azure Service Bus. This class cannot be inherited.

public sealed class RelayedOnewayTransportElement : ConnectionOrientedTransportElement
Inheritance
RelayedOnewayTransportElement
Inherited Members

Constructors

RelayedOnewayTransportElement()

Initializes a new instance of the RelayedOnewayTransportElement class.

public RelayedOnewayTransportElement()

Properties

BindingElementType

Gets the type of the current instance.

public override Type BindingElementType { get; }

Property Value

Type

Returns a Type that contains the type of the current instance, which is the type of RelayedOnewayTransportBindingElement.

ConnectionMode

Gets or sets an XML value that describes the one-way connection mode.

public RelayedOnewayConnectionMode ConnectionMode { get; set; }

Property Value

RelayedOnewayConnectionMode

Returns a RelayedOnewayConnectionMode that contains the connection mode.

ConnectionPoolSettings

Gets or sets an XML value that describes the connection pool settings for the current instance.

public SocketConnectionPoolSettingsElement ConnectionPoolSettings { get; set; }

Property Value

SocketConnectionPoolSettingsElement

Returns a SocketConnectionPoolSettingsElement that contains the connection pool settings used by the binding element that the current instance is applied to.

ListenBacklog

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

public int ListenBacklog { get; set; }

Property Value

int

The maximum number of queued connection requests that can be pending.

Properties

Gets a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element.

protected override ConfigurationPropertyCollection Properties { get; }

Property Value

ConfigurationPropertyCollection

Returns a System.Configuration.ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element.

RelayClientAuthenticationType

Gets or sets an XML value that describes the authentication type specified in this configuration element.

public RelayClientAuthenticationType RelayClientAuthenticationType { get; set; }

Property Value

RelayClientAuthenticationType

Returns a RelayClientAuthenticationType that contains the type of authentication to be used by binding elements that the current instance is applied to.

Methods

ApplyConfiguration(BindingElement)

Applies the settings from this configuration element to the specified binding element.

public override void ApplyConfiguration(BindingElement bindingElement)

Parameters

bindingElement BindingElement

The binding element to update the settings of.

CopyFrom(ServiceModelExtensionElement)

Copies the settings from the specified configuration element to the current instance.

public override void CopyFrom(ServiceModelExtensionElement from)

Parameters

from ServiceModelExtensionElement

The configuration element to copy from.

CreateDefaultBindingElement()

protected override TransportBindingElement CreateDefaultBindingElement()

Returns

TransportBindingElement

InitializeFrom(BindingElement)

protected override void InitializeFrom(BindingElement bindingElement)

Parameters

bindingElement BindingElement