Click or drag to resize

RetryableInsertCommandOperationTDocumentCreateCommandPayloads Method

Creates the command payloads.

Namespace:  MongoDB.Driver.Core.Operations
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
protected override 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