ConnectionOrientedTransportElement ConnectionOrientedTransportElement Class

Represents the configuration element that provides additional configuration settings to connection-oriented transport binding elements, such as TCP and named pipes.

Syntax

Declaration

public abstract class ConnectionOrientedTransportElement : TransportElement, IConfigurationContextProviderInternalPublic MustInherit Class ConnectionOrientedTransportElement
    Inherits TransportElement
    Implements IConfigurationContextProviderInternal

Inheritance Hierarchy

Inherited Members

System.ServiceModel.Configuration.TransportElement

, , , , ,

System.ServiceModel.Configuration.BindingElementExtensionElement

System.ServiceModel.Configuration.ServiceModelExtensionElement

, , ,

System.ServiceModel.Configuration.ServiceModelConfigurationElement

System.Configuration.ConfigurationElement

Init()
Init()
, , , , , , , , ,
Unmerge(ConfigurationElement, ConfigurationElement, System.Configuration.ConfigurationSaveMode)
Unmerge(ConfigurationElement, ConfigurationElement, System.Configuration.ConfigurationSaveMode)
, , , , , , , , , , , , , , , , , , , , ,

System.Object

, , , ,

Properties summary

Gets or sets the maximum time the 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 or sets a value that indicates whether the hostname is used to reach the service when matching on the URI.

Gets or sets the maximum size of the buffer to use.

Gets or sets the maximum interval of time that a part of a message or a full 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 a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element.

Gets or sets a value that specifies whether the messages are buffered or streamed with the connection-oriented transport.

Methods summary

Applies the settings of this configuration element to the specified BindingElement.

Copies the content of the specified configuration element to this configuration element.

Properties

  • ChannelInitializationTimeout
    ChannelInitializationTimeout

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

    [ConfigurationProperty("channelInitializationTimeout", DefaultValue = "00:01:00")]
    [TypeConverter(typeof (TimeSpanOrInfiniteConverter))]
    public TimeSpan ChannelInitializationTimeout { get; set; }<ConfigurationProperty("channelInitializationTimeout", DefaultValue:="00:01:00")>
    <TypeConverter(GetType(TimeSpanOrInfiniteConverter))>
    Public Property ChannelInitializationTimeout As TimeSpan

    Property Value

    • The maximum time the 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.

    [ConfigurationProperty("connectionBufferSize", DefaultValue = 65536)]
    [IntegerValidator(MinValue = 1)]
    public int ConnectionBufferSize { get; set; }<ConfigurationProperty("connectionBufferSize", DefaultValue:=65536)>
    <IntegerValidator(MinValue:=1)>
    Public Property ConnectionBufferSize As Integer

    Property Value

    • Returns a Int32 that contains the size of the buffer used to transmit a part of the serialized message on the wire from the client or service. The default value is 8K.

  • HostNameComparisonMode
    HostNameComparisonMode

    Gets or sets a value that indicates whether the hostname is used to reach the service when matching on the URI.

    [ConfigurationProperty("hostNameComparisonMode", DefaultValue = HostNameComparisonMode.StrongWildcard)]
    public HostNameComparisonMode HostNameComparisonMode { get; set; }<ConfigurationProperty("hostNameComparisonMode", DefaultValue:=HostNameComparisonMode.StrongWildcard)>
    Public Property HostNameComparisonMode As HostNameComparisonMode

    Property Value

    • A valid HostnameComparisonMode value that indicates whether the hostname is included when routing incoming requests to an endpoint URI. The default value is StrongWildcard, which ignores the hostname in the match.

  • MaxBufferSize
    MaxBufferSize

    Gets or sets the maximum size of the buffer to use.

    [ConfigurationProperty("maxBufferSize", DefaultValue = 65536)]
    [IntegerValidator(MinValue = 1)]
    public int MaxBufferSize { get; set; }<ConfigurationProperty("maxBufferSize", DefaultValue:=65536)>
    <IntegerValidator(MinValue:=1)>
    Public Property MaxBufferSize As Integer

    Property Value

    • The maximum number of bytes that are used to buffer incoming messages in memory. The default value is 65,536 bytes.

  • MaxOutputDelay
    MaxOutputDelay

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

    [ConfigurationProperty("maxOutputDelay", DefaultValue = "00:00:00.2")]
    [TypeConverter(typeof (TimeSpanOrInfiniteConverter))]
    public TimeSpan MaxOutputDelay { get; set; }<ConfigurationProperty("maxOutputDelay", DefaultValue:="00:00:00.2")>
    <TypeConverter(GetType(TimeSpanOrInfiniteConverter))>
    Public Property MaxOutputDelay As TimeSpan

    Property Value

    • The maximum interval of time that a part of a message or a full message can remain buffered in memory before being sent out. The default value is 2 seconds.

  • MaxPendingAccepts
    MaxPendingAccepts

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

    [ConfigurationProperty("maxPendingAccepts", DefaultValue = 1)]
    [IntegerValidator(MinValue = 1)]
    public int MaxPendingAccepts { get; set; }<ConfigurationProperty("maxPendingAccepts", DefaultValue:=1)>
    <IntegerValidator(MinValue:=1)>
    Public Property MaxPendingAccepts As Integer

    Property Value

    • The maximum number of pending messages the service can accept. The default value is 1.

  • MaxPendingConnections
    MaxPendingConnections

    Gets or sets the maximum number of pending connections.

    [ConfigurationProperty("maxPendingConnections", DefaultValue = 10)]
    [IntegerValidator(MinValue = 1)]
    public int MaxPendingConnections { get; set; }<ConfigurationProperty("maxPendingConnections", DefaultValue:=10)>
    <IntegerValidator(MinValue:=1)>
    Public Property MaxPendingConnections As Integer

    Property Value

    • The maximum number of pending connections.

  • Properties
    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; }Protected Overrides ReadOnly Property Properties As ConfigurationPropertyCollection

    Property Value

    Overrides

  • TransferMode
    TransferMode

    Gets or sets a value that specifies whether the messages are buffered or streamed with the connection-oriented transport.

    [ConfigurationProperty("transferMode", DefaultValue = TransferMode.Buffered)]
    public TransferMode TransferMode { get; set; }<ConfigurationProperty("transferMode", DefaultValue:=TransferMode.Buffered)>
    Public Property TransferMode As TransferMode

    Property Value

Methods

Details

Namespace

Microsoft.ServiceBus.Configuration

Assembly

Microsoft.ServiceBus.dll