Table of Contents

Struct CommandSucceededEvent

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

Occurs when a command has succeeded.

public struct CommandSucceededEvent
Inherited Members

Constructors

CommandSucceededEvent(string, BsonDocument, DatabaseNamespace, long?, int, ConnectionId, ObjectId?, TimeSpan)

Initializes a new instance of the CommandSucceededEvent struct.

CommandSucceededEvent(string, BsonDocument, DatabaseNamespace, long?, int, ConnectionId, TimeSpan)

Initializes a new instance of the CommandSucceededEvent struct.

Properties

CommandName

Gets the name of the command.

ConnectionId

Gets the connection identifier.

DatabaseNamespace

Gets the database namespace.

Duration

Gets the duration.

OperationId

Gets the operation identifier.

Reply

Gets the reply.

RequestId

Gets the request identifier.

ServiceId

Gets the service identifier.

Timestamp

Gets the timestamp.