Constructor ConnectionSentMessagesEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

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

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.