Table of Contents

Struct ConnectionPoolCheckingOutConnectionFailedEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.Core.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.