Click or drag to resize

RetryableWriteCommandOperationBaseCreateCommandPayloads Method

Creates the command payloads.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
protected abstract IEnumerable<Type1CommandMessageSection> CreateCommandPayloads(
	IChannelHandle channel,
	int attempt
)

Parameters

channel
Type: MongoDB.Driver.Core.BindingsIChannelHandle
The channel.
attempt
Type: SystemInt32
The attempt.

Return Value

Type: IEnumerableType1CommandMessageSection
The command payloads.
See Also