Type1CommandMessageSection Constructor |
Namespace:
MongoDB.Driver.Core.WireProtocol.Messages
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax public Type1CommandMessageSection(
string identifier,
IBatchableSource<Object> documents,
IBsonSerializer documentSerializer,
IElementNameValidator elementNameValidator,
int? maxBatchCount,
int? maxDocumentSize
)
Public Sub New (
identifier As String,
documents As IBatchableSource(Of Object),
documentSerializer As IBsonSerializer,
elementNameValidator As IElementNameValidator,
maxBatchCount As Integer?,
maxDocumentSize As Integer?
)
new :
identifier : string *
documents : IBatchableSource<Object> *
documentSerializer : IBsonSerializer *
elementNameValidator : IElementNameValidator *
maxBatchCount : Nullable<int> *
maxDocumentSize : Nullable<int> -> Type1CommandMessageSection
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