Table of Contents

Constructor ConnectionReceivingMessageFailedEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.dll

ConnectionReceivingMessageFailedEvent(ConnectionId, int, Exception, long?)

Initializes a new instance of the ConnectionReceivingMessageFailedEvent struct.

public ConnectionReceivingMessageFailedEvent(ConnectionId connectionId, int responseTo, Exception exception, long? operationId)

Parameters

connectionId ConnectionId

The connection identifier.

responseTo int

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

exception Exception

The exception.

operationId long?

The operation identifier.