PoolExhaustedException
- Namespace:
PPDS.Dataverse.Pooling - Assembly:
PPDS.Dataverse - Kind: Class
- Base:
TimeoutException - Implements:
ISerializable
Summary
Exception thrown when the connection pool is exhausted and no connection could be acquired within the configured timeout period.
Members
Constructors
PoolExhaustedException()
PoolExhaustedException()
Initializes a new instance of the PPDS.Dataverse.Pooling.PoolExhaustedException class.
PoolExhaustedException(int activeConnections, int maxPoolSize, TimeSpan acquireTimeout)
PoolExhaustedException(int activeConnections, int maxPoolSize, TimeSpan acquireTimeout)
Initializes a new instance of the PPDS.Dataverse.Pooling.PoolExhaustedException class.
-
Param
activeConnections: The number of active connections. -
Param
maxPoolSize: The maximum pool size. -
Param
acquireTimeout: The acquire timeout that was exceeded.
PoolExhaustedException(string message)
PoolExhaustedException(string message)
Initializes a new instance of the PPDS.Dataverse.Pooling.PoolExhaustedException class.
- Param
message: The error message.
PoolExhaustedException(string message, Exception innerException)
PoolExhaustedException(string message, Exception innerException)
Initializes a new instance of the PPDS.Dataverse.Pooling.PoolExhaustedException class.
-
Param
message: The error message. -
Param
innerException: The inner exception.
Properties
AcquireTimeout
TimeSpan AcquireTimeout { get; }
Gets the acquire timeout that was exceeded.
ActiveConnections
int ActiveConnections { get; }
Gets the number of active connections at the time of the exception.
MaxPoolSize
int MaxPoolSize { get; }
Gets the maximum pool size configured.