Table of Contents

Method CreateCommand

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

CreateCommand(ICoreSessionHandle, int, long?)

Creates the command.

protected abstract BsonDocument CreateCommand(ICoreSessionHandle session, int attempt, long? transactionNumber)

Parameters

session ICoreSessionHandle

The session.

attempt int

The attempt.

transactionNumber long?

The transaction number.

Returns

BsonDocument

A command.