Constructor ClusterAddedServerEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

ClusterAddedServerEvent(ServerId, TimeSpan)

Initializes a new instance of the ClusterAddedServerEvent struct.

public ClusterAddedServerEvent(ServerId serverId, TimeSpan duration)

Parameters

serverId ServerId

The server identifier.

duration TimeSpan

The duration of time it took to add the server.