Table of Contents

Constructor ConnectionSentMessagesEvent

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

ConnectionSentMessagesEvent(ConnectionId, IReadOnlyList<int>, int, TimeSpan, TimeSpan, long?)

Initializes a new instance of the ConnectionSentMessagesEvent struct.

public ConnectionSentMessagesEvent(ConnectionId connectionId, IReadOnlyList<int> requestIds, int length, TimeSpan networkDuration, TimeSpan serializationDuration, long? operationId)

Parameters

connectionId ConnectionId

The connection identifier.

requestIds IReadOnlyList<int>

The request ids.

length int

The length.

networkDuration TimeSpan

The duration of time spent on the network.

serializationDuration TimeSpan

The duration of time spent serializing the messages.

operationId long?

The operation identifier.