Struct ConnectionOpeningFailedEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs when a connection fails to open.

public struct ConnectionOpeningFailedEvent

Inherited Members

Constructors

ConnectionOpeningFailedEvent(ConnectionId, ConnectionSettings, Exception, long?)

Initializes a new instance of the ConnectionOpeningFailedEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

ConnectionSettings

Gets the connection settings.

Exception

Gets the exception.

OperationId

Gets the operation identifier.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.