Method CreateCommand
- Namespace
- MongoDB.Driver.Core.Operations
- Assembly
- MongoDB.Driver.Core.dll
CreateCommand(ICoreSessionHandle, int, long?)
Creates the command.
protected override BsonDocument CreateCommand(ICoreSessionHandle session, int attempt, long? transactionNumber)
Parameters
sessionICoreSessionHandleThe session.
attemptintThe attempt.
transactionNumberlong?The transaction number.
Returns
- BsonDocument
A command.