Table of Contents

Struct ConnectionPoolClosingEvent

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

Occurs before the pool is closed.

public struct ConnectionPoolClosingEvent
Inherited Members

Constructors

ConnectionPoolClosingEvent(ServerId)

Initializes a new instance of the ConnectionPoolClosingEvent struct.

public ConnectionPoolClosingEvent(ServerId serverId)

Parameters

serverId ServerId

The server identifier.

Properties

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

ServerId

Gets the server identifier.

public ServerId ServerId { get; }

Property Value

ServerId

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime