Constructor ConnectionPoolCheckingOutConnectionFailedEvent
ConnectionPoolCheckingOutConnectionFailedEvent(ServerId, Exception, long?, TimeSpan, ConnectionCheckOutFailedReason)
Initializes a new instance of the ConnectionPoolCheckingOutConnectionFailedEvent struct.
public ConnectionPoolCheckingOutConnectionFailedEvent(ServerId serverId, Exception exception, long? operationId, TimeSpan duration, ConnectionCheckOutFailedReason reason)
Parameters
serverIdServerIdThe server identifier.
exceptionExceptionThe exception.
operationIdlong?The operation identifier.
durationTimeSpanThe duration of time it took trying to check out the connection.
reasonConnectionCheckOutFailedReasonThe reason the checkout failed.