Table of Contents

Struct ConnectionPoolOpeningEvent

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

Occurs before the pool is opened.

public struct ConnectionPoolOpeningEvent
Inherited Members

Constructors

ConnectionPoolOpeningEvent(ServerId, ConnectionPoolSettings)

Initializes a new instance of the ConnectionPoolOpeningEvent struct.

public ConnectionPoolOpeningEvent(ServerId serverId, ConnectionPoolSettings connectionPoolSettings)

Parameters

serverId ServerId

The server identifier.

connectionPoolSettings ConnectionPoolSettings

The connection pool settings.

Properties

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

ConnectionPoolSettings

Gets the connection pool settings.

public ConnectionPoolSettings ConnectionPoolSettings { get; }

Property Value

ConnectionPoolSettings

ServerId

Gets the server identifier.

public ServerId ServerId { get; }

Property Value

ServerId

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime