RetryableUpdateCommandOperationCreateCommand Method |
Creates the command.
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax protected override BsonDocument CreateCommand(
ICoreSessionHandle session,
int attempt,
long? transactionNumber
)
Protected Overrides Function CreateCommand (
session As ICoreSessionHandle,
attempt As Integer,
transactionNumber As Long?
) As BsonDocument
abstract CreateCommand :
session : ICoreSessionHandle *
attempt : int *
transactionNumber : Nullable<int64> -> BsonDocument
override CreateCommand :
session : ICoreSessionHandle *
attempt : int *
transactionNumber : Nullable<int64> -> BsonDocument
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