Constructor SizeLimitingBatchableSourceSerializer
SizeLimitingBatchableSourceSerializer(IBsonSerializer<TItem>, IElementNameValidator, int, int, int)
Initializes a new instance of the SizeLimitingBatchableSourceSerializer<TItem> class.
public SizeLimitingBatchableSourceSerializer(IBsonSerializer<TItem> itemSerializer, IElementNameValidator itemElementNameValidator, int maxBatchCount, int maxItemSize, int maxBatchSize)
Parameters
itemSerializer
IBsonSerializer<TItem>The item serializer.
itemElementNameValidator
IElementNameValidatorThe item element name validator.
maxBatchCount
intThe maximum batch count.
maxItemSize
intThe maximum size of a serialized item.
maxBatchSize
intThe maximum size of the batch.