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
)
Public Sub New (
itemSerializer As IBsonSerializer(Of TItem),
itemElementNameValidator As IElementNameValidator,
maxBatchCount As Integer,
maxItemSize As Integer,
maxBatchSize As Integer
)
new :
itemSerializer : IBsonSerializer<'TItem> *
itemElementNameValidator : IElementNameValidator *
maxBatchCount : int *
maxItemSize : int *
maxBatchSize : int -> SizeLimitingBatchableSourceSerializer
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