Table of Contents

Class ClusterDescriptionChangedEventArgs

Namespace
MongoDB.Driver.Core.Clusters
Assembly
MongoDB.Driver.Core.dll

Represents the data for the event that fires when a cluster description changes.

public class ClusterDescriptionChangedEventArgs : EventArgs
Inheritance
ClusterDescriptionChangedEventArgs
Inherited Members

Constructors

ClusterDescriptionChangedEventArgs(ClusterDescription, ClusterDescription)

Initializes a new instance of the ClusterDescriptionChangedEventArgs class.

public ClusterDescriptionChangedEventArgs(ClusterDescription oldClusterDescription, ClusterDescription newClusterDescription)

Parameters

oldClusterDescription ClusterDescription

The old cluster description.

newClusterDescription ClusterDescription

The new cluster description.

Properties

NewClusterDescription

Gets the new cluster description.

public ClusterDescription NewClusterDescription { get; }

Property Value

ClusterDescription

The new cluster description.

OldClusterDescription

Gets the old cluster description.

public ClusterDescription OldClusterDescription { get; }

Property Value

ClusterDescription

The old cluster description.