Table of Contents

Constructor ServerOpenedEvent

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

ServerOpenedEvent(ServerId, ServerSettings, TimeSpan)

Initializes a new instance of the ServerOpenedEvent struct.

public ServerOpenedEvent(ServerId serverId, ServerSettings serverSettings, TimeSpan duration)

Parameters

serverId ServerId

The server identifier.

serverSettings ServerSettings

The server settings.

duration TimeSpan

The duration of time it took to open the server.