Click or drag to resize

RetryableDeleteCommandOperationCreateCommand Method

Creates the command.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
protected override BsonDocument CreateCommand(
	ICoreSessionHandle session,
	int attempt,
	Nullable<long> transactionNumber
)

Parameters

session
Type: MongoDB.Driver.Core.BindingsICoreSessionHandle
The session.
attempt
Type: SystemInt32
The attempt.
transactionNumber
Type: SystemNullableInt64
The transaction number.

Return Value

Type: BsonDocument
A command.
See Also