Click or drag to resize

RetryableInsertCommandOperationTDocumentCreateCommand Method

Creates the command.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
protected override BsonDocument CreateCommand(
	ConnectionDescription connectionDescription,
	int attempt,
	Nullable<long> transactionNumber
)

Parameters

connectionDescription
Type: MongoDB.Driver.Core.ConnectionsConnectionDescription
The connection description.
attempt
Type: SystemInt32
The attempt.
transactionNumber
Type: SystemNullableInt64
The transaction number.

Return Value

Type: BsonDocument
A command.
See Also