Click or drag to resize

SizeLimitingBatchableSourceSerializerTItem Constructor

Namespace:  MongoDB.Driver.Core.Misc
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public SizeLimitingBatchableSourceSerializer(
	IBsonSerializer<TItem> itemSerializer,
	IElementNameValidator itemElementNameValidator,
	int maxBatchCount,
	int maxItemSize,
	int maxBatchSize
)

Parameters

itemSerializer
Type: MongoDB.Bson.SerializationIBsonSerializerTItem
The item serializer.
itemElementNameValidator
Type: MongoDB.Bson.IOIElementNameValidator
The item element name validator.
maxBatchCount
Type: SystemInt32
The maximum batch count.
maxItemSize
Type: SystemInt32
The maximum size of a serialized item.
maxBatchSize
Type: SystemInt32
The maximum size of the batch.
See Also