Click or drag to resize

ConnectionPoolCheckingOutConnectionFailedEvent Constructor

Initializes a new instance of the ConnectionPoolCheckingOutConnectionFailedEvent struct.

Namespace:  MongoDB.Driver.Core.Events
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public ConnectionPoolCheckingOutConnectionFailedEvent(
	ServerId serverId,
	Exception exception,
	long? operationId,
	TimeSpan duration,
	ConnectionCheckOutFailedReason reason
)

Parameters

serverId
Type: MongoDB.Driver.Core.ServersServerId
The server identifier.
exception
Type: SystemException
The exception.
operationId
Type: SystemNullableInt64
The operation identifier.
duration
Type: SystemTimeSpan
The duration of time it took trying to check out the connection.
reason
Type: MongoDB.Driver.Core.EventsConnectionCheckOutFailedReason
The reason the checkout failed.
See Also