Struct ClusterRemovingServerEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs before a server is removed from the cluster.

public struct ClusterRemovingServerEvent

Inherited Members

ValueType.Equals(object)

ValueType.GetHashCode()

ValueType.ToString()

object.Equals(object, object)

object.GetType()

object.ReferenceEquals(object, object)

Constructors

ClusterRemovingServerEvent(ServerId, string)

Initializes a new instance of the ClusterRemovingServerEvent struct.

Properties

ClusterId

Gets the cluster identifier.

Reason

Gets the reason the server is being removed.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.