Table of Contents

Struct ConnectionPoolAddingConnectionEvent

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

Occurs before a connection is added to the pool.

public struct ConnectionPoolAddingConnectionEvent
Inherited Members

Constructors

ConnectionPoolAddingConnectionEvent(ServerId, long?)

Initializes a new instance of the ConnectionPoolAddingConnectionEvent struct.

public ConnectionPoolAddingConnectionEvent(ServerId serverId, long? operationId)

Parameters

serverId ServerId

The server identifier.

operationId long?

The operation identifier.

Properties

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

OperationId

Gets the operation identifier.

public long? OperationId { get; }

Property Value

long?

ServerId

Gets the server identifier.

public ServerId ServerId { get; }

Property Value

ServerId

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime