ConnectionAfterReceivingMessageEvent Constructor |
This API is preliminary and subject to change.
Namespace: MongoDB.Driver.Core.EventsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.0.1
Syntax public ConnectionAfterReceivingMessageEvent(
ConnectionId connectionId,
ResponseMessage receivedMessage,
int length,
TimeSpan elapsed
)
Public Sub New (
connectionId As ConnectionId,
receivedMessage As ResponseMessage,
length As Integer,
elapsed As TimeSpan
)
new :
connectionId : ConnectionId *
receivedMessage : ResponseMessage *
length : int *
elapsed : TimeSpan -> ConnectionAfterReceivingMessageEvent
Parameters
- connectionId
- Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier. - receivedMessage
- Type: MongoDB.Driver.Core.WireProtocol.MessagesResponseMessage
The received message. - length
- Type: SystemInt32
The length. - elapsed
- Type: SystemTimeSpan
The elapsed time.
See Also