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
serverId
ServerIdThe server identifier.
exception
ExceptionThe exception.
operationId
long?The operation identifier.
duration
TimeSpanThe duration of time it took trying to check out the connection.
reason
ConnectionCheckOutFailedReasonThe reason the checkout failed.