Struct ConnectionFailedEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs when a connection fails.

public struct ConnectionFailedEvent

Inherited Members

ValueType.Equals(object)

ValueType.GetHashCode()

ValueType.ToString()

object.Equals(object, object)

object.GetType()

object.ReferenceEquals(object, object)

Constructors

ConnectionFailedEvent(ConnectionId, Exception)

Initializes a new instance of the ConnectionFailedEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

Exception

Gets the exception.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.