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

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

Parameters

connectionId
Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier.
messages
Type: System.Collections.GenericIReadOnlyListRequestMessage
The messages.
length
Type: SystemInt32
The length.
elapsed
Type: SystemTimeSpan
The elapsed time.
See Also