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
)
Public Sub New (
identifier As String,
documents As IBatchableSource(Of TDocument),
documentSerializer As IBsonSerializer(Of TDocument),
elementNameValidator As IElementNameValidator,
maxBatchCount As Nullable(Of Integer),
maxDocumentSize As Nullable(Of Integer)
)
new :
identifier : string *
documents : IBatchableSource<'TDocument> *
documentSerializer : IBsonSerializer<'TDocument> *
elementNameValidator : IElementNameValidator *
maxBatchCount : Nullable<int> *
maxDocumentSize : Nullable<int> -> Type1CommandMessageSection
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