Click or drag to resize

ClusterSelectingServerFailedEvent Constructor

Initializes a new instance of the ClusterSelectingServerFailedEvent struct.

Namespace:  MongoDB.Driver.Core.Events
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public ClusterSelectingServerFailedEvent(
	ClusterDescription clusterDescription,
	IServerSelector serverSelector,
	Exception exception,
	long? operationId,
	string operationName
)

Parameters

clusterDescription
Type: MongoDB.Driver.Core.ClustersClusterDescription
The cluster description.
serverSelector
Type: MongoDB.Driver.Core.Clusters.ServerSelectorsIServerSelector
The server selector.
exception
Type: SystemException
The exception.
operationId
Type: SystemNullableInt64
The operation identifier.
operationName
Type: SystemString
The operation name.
See Also