ConnectionReceivingMessageFailedEvent Constructor |
This API is preliminary and subject to change.
Namespace: MongoDB.Driver.Core.EventsAssembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.4.1
Syntax public ConnectionReceivingMessageFailedEvent(
ConnectionId connectionId,
int responseTo,
Exception exception,
Nullable<long> operationId
)
Public Sub New (
connectionId As ConnectionId,
responseTo As Integer,
exception As Exception,
operationId As Nullable(Of Long)
)
new :
connectionId : ConnectionId *
responseTo : int *
exception : Exception *
operationId : Nullable<int64> -> ConnectionReceivingMessageFailedEvent
Parameters
- connectionId
- Type: MongoDB.Driver.Core.ConnectionsConnectionId
The connection identifier. - responseTo
- Type: SystemInt32
The id of the message we were receiving a response to. - exception
- Type: SystemException
The exception. - operationId
- Type: SystemNullableInt64
The operation identifier.
See Also