Table of Contents

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 string

The identifier.

documents IBatchableSource<object>

The documents.

documentSerializer IBsonSerializer

The document serializer.

elementNameValidator IElementNameValidator

The element name validator.

maxBatchCount int?

The maximum batch count.

maxDocumentSize int?

Maximum size of the document.