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.16.0+eeafbea0921243a5868b81984e1083a07c1f75bc
Syntax
protected override BsonDocument CreateCommand(
	ICoreSessionHandle session,
	int attempt,
	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