ConnectionErrorSendingMessagesEvent 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 ConnectionErrorSendingMessagesEvent(
ConnectionId connectionId,
IReadOnlyList<RequestMessage> messages,
Exception exception
)
Public Sub New (
connectionId As ConnectionId,
messages As IReadOnlyList(Of RequestMessage),
exception As Exception
)
new :
connectionId : ConnectionId *
messages : IReadOnlyList<RequestMessage> *
exception : Exception -> ConnectionErrorSendingMessagesEvent
Parameters
- connectionId
- Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier. - messages
- Type: System.Collections.GenericIReadOnlyListRequestMessage
The messages. - exception
- Type: SystemException
The exception.
See Also