Table of Contents

Class SocketConnectionPoolSettingsElement

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

Represents a configuration element that specifies additional connection pool settings for a TCP transport. This class cannot be inherited.

public sealed class SocketConnectionPoolSettingsElement : ConfigurationElement
Inheritance
SocketConnectionPoolSettingsElement

Constructors

SocketConnectionPoolSettingsElement()

Initializes a new instance of the SocketConnectionPoolSettingsElement class.

public SocketConnectionPoolSettingsElement()

Properties

GroupName

Gets or sets the name of the connection pool used for outgoing channels.

public string GroupName { get; set; }

Property Value

string

Returns the name of the connection pool used for outgoing channels.

IdleTimeout

Gets or sets the maximum time that the connection can be idle before being disconnected.

[TypeConverter(typeof(TimeSpanOrInfiniteConverter))]
public TimeSpan IdleTimeout { get; set; }

Property Value

TimeSpan

Returns a positive TimeSpan that specifies the maximum time that the connection can be idle before being disconnected. The default is 00:02:00.

LeaseTimeout

Gets or sets the time span after which an active connection is closed.

[TypeConverter(typeof(TimeSpanOrInfiniteConverter))]
public TimeSpan LeaseTimeout { get; set; }

Property Value

TimeSpan

Returns a TimeSpan that indicates the duration after which the TCP connection is closed.

MaxOutboundConnectionsPerEndpoint

Gets or sets the maximum number of connections to a remote endpoint initiated by the service.

public int MaxOutboundConnectionsPerEndpoint { get; set; }

Property Value

int

Returns the maximum number of connections to a remote endpoint initiated by the service. The default is 10.

Properties

Gets the collection of properties.

protected override ConfigurationPropertyCollection Properties { get; }

Property Value

ConfigurationPropertyCollection