RetryableWriteCommandOperationBaseCreateCommand Method |
Creates the command.
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax protected abstract BsonDocument CreateCommand(
ConnectionDescription connectionDescription,
int attempt,
Nullable<long> transactionNumber
)
Protected MustOverride Function CreateCommand (
connectionDescription As ConnectionDescription,
attempt As Integer,
transactionNumber As Nullable(Of Long)
) As BsonDocument
abstract CreateCommand :
connectionDescription : ConnectionDescription *
attempt : int *
transactionNumber : Nullable<int64> -> BsonDocument
Parameters
- connectionDescription
- Type: MongoDB.Driver.Core.ConnectionsConnectionDescription
The connection description. - attempt
- Type: SystemInt32
The attempt. - transactionNumber
- Type: SystemNullableInt64
The transaction number.
Return Value
Type:
BsonDocumentA command.
See Also