Struct ClusterOpenedEvent

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs after a cluster is opened.

public struct ClusterOpenedEvent

Inherited Members

ValueType.Equals(object)

ValueType.GetHashCode()

ValueType.ToString()

object.Equals(object, object)

object.GetType()

object.ReferenceEquals(object, object)

Constructors

ClusterOpenedEvent(ClusterId, ClusterSettings, TimeSpan)

Initializes a new instance of the ClusterOpenedEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ClusterSettings

Gets the cluster settings.

Duration

Gets the duration of time it took to open the cluster.

Timestamp

Gets the timestamp.