Table of Contents

Constructor ClusterAddedServerEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.Core.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.