Table of Contents

Constructor ClusterClosedEvent

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

ClusterClosedEvent(ClusterId, TimeSpan)

Initializes a new instance of the ClusterClosedEvent struct.

public ClusterClosedEvent(ClusterId clusterId, TimeSpan duration)

Parameters

clusterId ClusterId

The cluster identifier.

duration TimeSpan

The duration of time it took to close the cluster.