Table of Contents

Constructor ConnectionReceivingMessageEvent

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

ConnectionReceivingMessageEvent(ConnectionId, int, long?)

Initializes a new instance of the ConnectionReceivingMessageEvent struct.

public ConnectionReceivingMessageEvent(ConnectionId connectionId, int responseTo, long? operationId)

Parameters

connectionId ConnectionId

The connection identifier.

responseTo int

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

operationId long?

The operation identifier.