Constructor ConnectionReceivedMessageEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

ConnectionReceivedMessageEvent(ConnectionId, int, int, TimeSpan, TimeSpan, long?)

public ConnectionReceivedMessageEvent(ConnectionId connectionId, int responseTo, int length, TimeSpan networkDuration, TimeSpan deserializationDuration, long? operationId)

Parameters

connectionId ConnectionId

The connection identifier.

responseTo int

The id of the message we received a response to.

length int

The length of the received message.

networkDuration TimeSpan

The duration of network time it took to receive the message.

deserializationDuration TimeSpan

The duration of deserialization time it took to receive the message.

operationId long?

The operation identifier.