Click or drag to resize

Type1CommandMessageSection 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<Object> documents,
	IBsonSerializer documentSerializer,
	IElementNameValidator elementNameValidator,
	Nullable<int> maxBatchCount,
	Nullable<int> maxDocumentSize
)

Parameters

identifier
Type: SystemString
The identifier.
documents
Type: MongoDB.Driver.Core.MiscIBatchableSourceObject
The documents.
documentSerializer
Type: MongoDB.Bson.SerializationIBsonSerializer
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