Table of Contents

Constructor ClusterOpenedEvent

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

ClusterOpenedEvent(ClusterId, ClusterSettings, TimeSpan)

Initializes a new instance of the ClusterOpenedEvent struct.

public ClusterOpenedEvent(ClusterId clusterId, ClusterSettings clusterSettings, TimeSpan duration)

Parameters

clusterId ClusterId

The cluster identifier.

clusterSettings ClusterSettings

The cluster settings.

duration TimeSpan

The duration of time it took to open the cluster.