Constructor Type1CommandMessageSection
- Namespace
- MongoDB.Driver.Core.WireProtocol.Messages
- Assembly
- MongoDB.Driver.Core.dll
Type1CommandMessageSection(string, IBatchableSource<object>, IBsonSerializer, IElementNameValidator, int?, int?)
Initializes a new instance of the Type1CommandMessageSection<TDocument> class.
public Type1CommandMessageSection(string identifier, IBatchableSource<object> documents, IBsonSerializer documentSerializer, IElementNameValidator elementNameValidator, int? maxBatchCount, int? maxDocumentSize)
Parameters
identifier
stringThe identifier.
documents
IBatchableSource<object>The documents.
documentSerializer
IBsonSerializerThe document serializer.
elementNameValidator
IElementNameValidatorThe element name validator.
maxBatchCount
int?The maximum batch count.
maxDocumentSize
int?Maximum size of the document.