Table of Contents

Struct ConnectionOpenedEvent

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

Occurs after a connection is opened.

public struct ConnectionOpenedEvent
Inherited Members

Constructors

ConnectionOpenedEvent(ConnectionId, ConnectionSettings, TimeSpan, long?)

Initializes a new instance of the ConnectionOpenedEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

ConnectionSettings

Gets the connection settings.

Duration

Gets the duration of time it took to open the connection.

OperationId

Gets the operation identifier.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.