Class SocketConnectionPoolSettings
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
Represents the properties that control the behavior of the socket connection pool.
public sealed class SocketConnectionPoolSettings
- Inheritance
-
SocketConnectionPoolSettings
- Inherited Members
Properties
GroupName
Gets or sets the group name of the socket connection pool.
public string GroupName { get; set; }
Property Value
- string
The group name of the socket connection pool.
IdleTimeout
Gets or sets the maximum time the connection can be idle in the connection pool before being disconnected.
public TimeSpan IdleTimeout { get; set; }
Property Value
- TimeSpan
The maximum time the connection can be idle in the connection pool before being disconnected.
LeaseTimeout
Gets or sets the time span after which an active connection is closed.
public TimeSpan LeaseTimeout { get; set; }
Property Value
- TimeSpan
The duration after which the socket connection is closed.
MaxOutboundConnectionsPerEndpoint
Gets or sets the maximum number of outbound connections for each endpoint that is cached in the connection pool.
public int MaxOutboundConnectionsPerEndpoint { get; set; }
Property Value
- int
The maximum number of outbound connections for each endpoint that is cached in the connection pool.