Table of Contents

Struct ClusterSelectedServerEvent

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

Occurs after a server is selected.

public struct ClusterSelectedServerEvent
Inherited Members

Constructors

ClusterSelectedServerEvent(ClusterDescription, IServerSelector, ServerDescription, TimeSpan, long?, string)

Initializes a new instance of the ClusterSelectedServerEvent struct.

Properties

ClusterDescription

Gets the cluster description.

ClusterId

Gets the cluster identifier.

Duration

Gets the duration of time it took to select the server.

OperationId

Gets the operation identifier.

OperationName

Gets the operation name.

SelectedServer

Gets the selected server.

ServerSelector

Gets the server selector.

Timestamp

Gets the timestamp.