Table of Contents

Struct ConnectionPoolClearingEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.Core.dll

Occurs when the pool is about to be cleared.

public struct ConnectionPoolClearingEvent
Inherited Members

Constructors

ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings)

Initializes a new instance of the ConnectionPoolClearingEvent struct.

ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings, bool)

Initializes a new instance of the ConnectionPoolClearingEvent struct.

ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings, ObjectId?)

Initializes a new instance of the ConnectionPoolClearingEvent struct.

ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings, ObjectId?, bool)

Initializes a new instance of the ConnectionPoolClearingEvent struct.

Properties

CloseInUseConnections

Gets a value indicating whether in use connections should be closed.

ClusterId

Gets the cluster identifier.

ConnectionPoolSettings

Gets the connection pool settings.

ServerId

Gets the server identifier.

ServiceId

Gets the service identifier.

Timestamp

Gets the timestamp.