Table of Contents

Constructor ClusterRemovedServerEvent

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

ClusterRemovedServerEvent(ServerId, string, TimeSpan)

Initializes a new instance of the ClusterRemovedServerEvent struct.

public ClusterRemovedServerEvent(ServerId serverId, string reason, TimeSpan duration)

Parameters

serverId ServerId

The server identifier.

reason string

The reason.

duration TimeSpan

The duration of time it took to remove the server.