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
ICoreSessionHandleThe session.
attempt
intThe attempt.
transactionNumber
long?The transaction number.
Returns
- BsonDocument
A command.