Table of Contents

Constructor ClusterSelectingServerFailedEvent

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

ClusterSelectingServerFailedEvent(ClusterDescription, IServerSelector, Exception, long?, string)

Initializes a new instance of the ClusterSelectingServerFailedEvent struct.

public ClusterSelectingServerFailedEvent(ClusterDescription clusterDescription, IServerSelector serverSelector, Exception exception, long? operationId, string operationName)

Parameters

clusterDescription ClusterDescription

The cluster description.

serverSelector IServerSelector

The server selector.

exception Exception

The exception.

operationId long?

The operation identifier.

operationName string

The operation name.