Click or drag to resize
ClusterBeforeRemovingServerEvent Constructor
This API is preliminary and subject to change.
Initializes a new instance of the ClusterBeforeRemovingServerEvent struct.

Namespace: MongoDB.Driver.Core.Events
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax
public ClusterBeforeRemovingServerEvent(
	ServerId serverId,
	string reason
)

Parameters

serverId
Type: MongoDB.Driver.Core.ServersServerId
The server identifier.
reason
Type: SystemString
The reason the server is being removed.
See Also