Struct ConnectionPoolCheckingOutConnectionFailedEvent

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs when a connection could not be checked out of the pool.

public struct ConnectionPoolCheckingOutConnectionFailedEvent

Inherited Members

Constructors

ConnectionPoolCheckingOutConnectionFailedEvent(ServerId, Exception, long?, TimeSpan, ConnectionCheckOutFailedReason)

Initializes a new instance of the ConnectionPoolCheckingOutConnectionFailedEvent struct.

Properties

ClusterId

Gets the cluster identifier.

Duration

Gets the duration of time it took trying to check out the connection.

Exception

Gets the exception.

OperationId

Gets the operation identifier.

Reason

Gets the reason the checkout failed.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.