Struct ConnectionReceivingMessageEvent

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

Namespace

MongoDB.Driver.Core.Events

Assembly

MongoDB.Driver.dll

Occurs before a message is received.

public struct ConnectionReceivingMessageEvent

Inherited Members

Constructors

ConnectionReceivingMessageEvent(ConnectionId, int, long?)

Initializes a new instance of the ConnectionReceivingMessageEvent struct.

Properties

ClusterId

Gets the cluster identifier.

ConnectionId

Gets the connection identifier.

OperationId

Gets the operation identifier.

ResponseTo

Gets the id of the message we are receiving a response to.

ServerId

Gets the server identifier.

Timestamp

Gets the timestamp.