Struct ConnectionCreatedEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs when a connection is created.

public struct ConnectionCreatedEvent

Inherited Members

Constructors

ConnectionCreatedEvent(ConnectionId, ConnectionSettings, long?)

Initializes a new instance of the ConnectionCreatedEvent 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.