RetryableUpdateCommandOperationCreateCommand Method |
Creates the command.
Namespace:
MongoDB.Driver.Core.Operations
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.12.2+a4a3888f4fb51bb518b1eb5002effc2d47f2ea6a
Syntax protected override BsonDocument CreateCommand(
ICoreSessionHandle session,
ConnectionDescription connectionDescription,
int attempt,
Nullable<long> transactionNumber
)
Protected Overrides Function CreateCommand (
session As ICoreSessionHandle,
connectionDescription As ConnectionDescription,
attempt As Integer,
transactionNumber As Nullable(Of Long)
) As BsonDocument
abstract CreateCommand :
session : ICoreSessionHandle *
connectionDescription : ConnectionDescription *
attempt : int *
transactionNumber : Nullable<int64> -> BsonDocument
override CreateCommand :
session : ICoreSessionHandle *
connectionDescription : ConnectionDescription *
attempt : int *
transactionNumber : Nullable<int64> -> BsonDocument
Parameters
- session
- Type: MongoDB.Driver.Core.BindingsICoreSessionHandle
The session. - 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