Table of Contents

Struct CommandStartedEvent

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

Occurs when a command has started.

public struct CommandStartedEvent
Inherited Members

Constructors

CommandStartedEvent(string, BsonDocument, DatabaseNamespace, long?, int, ConnectionId)

Initializes a new instance of the CommandStartedEvent class.

CommandStartedEvent(string, BsonDocument, DatabaseNamespace, long?, int, ConnectionId, ObjectId?)

Initializes a new instance of the CommandStartedEvent class.

Properties

Command

Gets the command.

CommandName

Gets the name of the command.

ConnectionId

Gets the connection identifier.

DatabaseNamespace

Gets the database namespace.

OperationId

Gets the operation identifier.

RequestId

Gets the request identifier.

ServiceId

Gets the service identifier.

Timestamp

Gets the timestamp.