Struct ConnectionReceivingMessageFailedEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs when a message was unable to be received.

public struct ConnectionReceivingMessageFailedEvent

Inherited Members

Constructors

ConnectionReceivingMessageFailedEvent(ConnectionId, int, Exception, long?)

Initializes a new instance of the ConnectionReceivingMessageFailedEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

Exception

Gets the exception.

OperationId

Gets the operation identifier.

ResponseTo

Gets id of the message we were receiving a response to.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.