Table of Contents

Struct ConnectionReceivedMessageEvent

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

Occurs after a message is received.

public struct ConnectionReceivedMessageEvent
Inherited Members

Constructors

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

Initializes a new instance of the ConnectionReceivedMessageEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

DeserializationDuration

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

Duration

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

Length

Gets the length of the received message.

NetworkDuration

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

OperationId

Gets the operation identifier.

ResponseTo

Gets the id of the message we received a response to.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.