Table of Contents

Struct ConnectionSentMessagesEvent

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

Occurs after a message has been sent.

public struct ConnectionSentMessagesEvent
Inherited Members

Constructors

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

Initializes a new instance of the ConnectionSentMessagesEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

Duration

Gets the duration of time it took to send the message.

Length

Gets the combined length of the messages.

NetworkDuration

Gets the duration of time spent on the network.

OperationId

Gets the operation identifier.

RequestIds

Gets the request ids.

SerializationDuration

Gets the duration of time spent serializing the messages.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.