Click or drag to resize

Type1CommandMessageSectionTDocument Constructor

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
Syntax
public Type1CommandMessageSection(
	string identifier,
	IBatchableSource<TDocument> documents,
	IBsonSerializer<TDocument> documentSerializer,
	IElementNameValidator elementNameValidator,
	Nullable<int> maxBatchCount,
	Nullable<int> maxDocumentSize
)

Parameters

identifier
Type: SystemString
The identifier.
documents
Type: MongoDB.Driver.Core.MiscIBatchableSourceTDocument
The documents.
documentSerializer
Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The document serializer.
elementNameValidator
Type: MongoDB.Bson.IOIElementNameValidator
The element name validator.
maxBatchCount
Type: SystemNullableInt32
The maximum batch count.
maxDocumentSize
Type: SystemNullableInt32
Maximum size of the document.
See Also