Struct ConnectionPoolAddedConnectionEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs after a connection is added to the pool.

public struct ConnectionPoolAddedConnectionEvent

Inherited Members

Constructors

ConnectionPoolAddedConnectionEvent(ConnectionId, TimeSpan, long?)

Initializes a new instance of the ConnectionPoolAddedConnectionEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

Duration

Gets the duration of time it took to add the server to the pool.

OperationId

Gets the operation identifier.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.