Struct ClusterAddedServerEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs after a server is added to the cluster.

public struct ClusterAddedServerEvent

Inherited Members

ValueType.Equals(object)

ValueType.GetHashCode()

ValueType.ToString()

object.Equals(object, object)

object.GetType()

object.ReferenceEquals(object, object)

Constructors

ClusterAddedServerEvent(ServerId, TimeSpan)

Initializes a new instance of the ClusterAddedServerEvent struct.

Properties

ClusterId

Gets the cluster identifier.

Duration

Gets the duration of time it took to add a server,

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.