Click or drag to resize
ConnectionBeforeReceivingMessageEvent Constructor
This API is preliminary and subject to change.
Initializes a new instance of the ConnectionBeforeReceivingMessageEvent struct.

Namespace: MongoDB.Driver.Core.Events
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax
public ConnectionBeforeReceivingMessageEvent(
	ConnectionId connectionId,
	int responseTo
)

Parameters

connectionId
Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier.
responseTo
Type: SystemInt32
The id of the message we are receiving a response to.
See Also