Constructor ConnectionPoolClearingEvent
ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings)
Initializes a new instance of the Connection
public ConnectionPoolClearingEvent(ServerId serverId, ConnectionPoolSettings connectionPoolSettings)
Parameters
serverId
ServerId The server identifier.
connectionPoolSettings
ConnectionPool Settings The connection pool settings.
ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings, bool)
Initializes a new instance of the Connection
public ConnectionPoolClearingEvent(ServerId serverId, ConnectionPoolSettings connectionPoolSettings, bool closeInUseConnections)
Parameters
serverId
ServerId The server identifier.
connectionPoolSettings
ConnectionPool Settings The connection pool settings.
closeInUseConnections
boolWhether in use connections should be closed.
ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings, ObjectId?)
Initializes a new instance of the Connection
public ConnectionPoolClearingEvent(ServerId serverId, ConnectionPoolSettings connectionPoolSettings, ObjectId? serviceId)
Parameters
serverId
ServerId The server identifier.
connectionPoolSettings
ConnectionPool Settings The connection pool settings.
serviceId
ObjectId ?The service identifier.
ConnectionPoolClearingEvent(ServerId, ConnectionPoolSettings, ObjectId?, bool)
Initializes a new instance of the Connection
public ConnectionPoolClearingEvent(ServerId serverId, ConnectionPoolSettings connectionPoolSettings, ObjectId? serviceId, bool closeInUseConnections)
Parameters
serverId
ServerId The server identifier.
connectionPoolSettings
ConnectionPool Settings The connection pool settings.
serviceId
ObjectId ?The service identifier.
closeInUseConnections
boolWhether in use connections should be closed.