Table of Contents

Struct ServerClosedEvent

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

Occurs after a server is closed.

public struct ServerClosedEvent
Inherited Members

Constructors

ServerClosedEvent(ServerId, TimeSpan)

Initializes a new instance of the ServerClosedEvent struct.

Properties

ClusterId

Gets the cluster identifier.

Duration

Gets the duration of time it took to close the server.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.