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

Namespace: MongoDB.Driver.Core.Events
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax
public ConnectionBeforeSendingMessagesEvent(
	ConnectionId connectionId,
	IReadOnlyList<RequestMessage> messages
)

Parameters

connectionId
Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier.
messages
Type: System.Collections.GenericIReadOnlyListRequestMessage
The messages.
See Also