Table of Contents

Struct ClusterAddingServerEvent

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

Occurs before a server is added to the cluster.

public struct ClusterAddingServerEvent
Inherited Members

Constructors

ClusterAddingServerEvent(ClusterId, EndPoint)

Initializes a new instance of the ClusterAddingServerEvent struct.

public ClusterAddingServerEvent(ClusterId clusterId, EndPoint endPoint)

Parameters

clusterId ClusterId

The cluster identifier.

endPoint EndPoint

The end point.

Properties

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

EndPoint

Gets the end point.

public EndPoint EndPoint { get; }

Property Value

EndPoint

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime