Table of Contents

Struct ClusterOpeningEvent

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

Occurs before a cluster is opened.

public struct ClusterOpeningEvent
Inherited Members

Constructors

ClusterOpeningEvent(ClusterId, ClusterSettings)

Initializes a new instance of the ClusterOpeningEvent struct.

public ClusterOpeningEvent(ClusterId clusterId, ClusterSettings clusterSettings)

Parameters

clusterId ClusterId

The cluster identifier.

clusterSettings ClusterSettings

The cluster settings.

Properties

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

ClusterSettings

Gets the cluster settings.

public ClusterSettings ClusterSettings { get; }

Property Value

ClusterSettings

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime