Struct ConnectionPoolRemovedConnectionEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs after a connection is removed from the pool.

public struct ConnectionPoolRemovedConnectionEvent

Inherited Members

Constructors

ConnectionPoolRemovedConnectionEvent(ConnectionId, TimeSpan, long?)

Initializes a new instance of the ConnectionPoolRemovedConnectionEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

Duration

Gets the duration of time it took to remove the connection from the pool.

OperationId

Gets the operation identifier.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.