Table of Contents

Constructor ClusterRemovingServerEvent

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

ClusterRemovingServerEvent(ServerId, string)

Initializes a new instance of the ClusterRemovingServerEvent struct.

public ClusterRemovingServerEvent(ServerId serverId, string reason)

Parameters

serverId ServerId

The server identifier.

reason string

The reason the server is being removed.