Struct ConnectionOpeningEvent

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs before a connection is opened.

public struct ConnectionOpeningEvent

Inherited Members

Constructors

ConnectionOpeningEvent(ConnectionId, ConnectionSettings, long?)

Initializes a new instance of the ConnectionOpeningEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

ConnectionSettings

Gets the connection settings.

OperationId

Gets the operation identifier.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.