Table of Contents

Struct ClusterDescriptionChangedEvent

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

Occurs when a cluster has changed.

public struct ClusterDescriptionChangedEvent
Inherited Members

Constructors

ClusterDescriptionChangedEvent(ClusterDescription, ClusterDescription)

Initializes a new instance of the ClusterDescriptionChangedEvent struct.

public ClusterDescriptionChangedEvent(ClusterDescription oldDescription, ClusterDescription newDescription)

Parameters

oldDescription ClusterDescription

The old description.

newDescription ClusterDescription

The new description.

Properties

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

NewDescription

Gets the new description.

public ClusterDescription NewDescription { get; }

Property Value

ClusterDescription

OldDescription

Gets the old description.

public ClusterDescription OldDescription { get; }

Property Value

ClusterDescription

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime