Table of Contents

Struct ConnectionSendingMessagesFailedEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.Core.dll

Occurs when a message could not be sent.

public struct ConnectionSendingMessagesFailedEvent
Inherited Members

Constructors

ConnectionSendingMessagesFailedEvent(ConnectionId, IReadOnlyList<int>, Exception, long?)

Initializes a new instance of the ConnectionSendingMessagesFailedEvent struct.

public ConnectionSendingMessagesFailedEvent(ConnectionId connectionId, IReadOnlyList<int> requestIds, Exception exception, long? operationId)

Parameters

connectionId ConnectionId

The connection identifier.

requestIds IReadOnlyList<int>

The request ids.

exception Exception

The exception.

operationId long?

The operation identifier.

Properties

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

ConnectionId

Gets the connection identifier.

public ConnectionId ConnectionId { get; }

Property Value

ConnectionId

Exception

Gets the exception.

public Exception Exception { get; }

Property Value

Exception

OperationId

Gets the operation identifier.

public long? OperationId { get; }

Property Value

long?

RequestIds

Gets the request ids.

public IReadOnlyList<int> RequestIds { get; }

Property Value

IReadOnlyList<int>

ServerId

Gets the server identifier.

public ServerId ServerId { get; }

Property Value

ServerId

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime