Click or drag to resize

InsertMessageTDocument Constructor

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public InsertMessage(
	int requestId,
	CollectionNamespace collectionNamespace,
	IBsonSerializer<TDocument> serializer,
	BatchableSource<TDocument> documentSource,
	int maxBatchCount,
	int maxMessageSize,
	bool continueOnError
)

Parameters

requestId
Type: SystemInt32
The request identifier.
collectionNamespace
Type: MongoDB.DriverCollectionNamespace
The collection namespace.
serializer
Type: MongoDB.Bson.SerializationIBsonSerializerTDocument
The serializer.
documentSource
Type: MongoDB.Driver.Core.MiscBatchableSourceTDocument
The document source.
maxBatchCount
Type: SystemInt32
The maximum batch count.
maxMessageSize
Type: SystemInt32
Maximum size of the message.
continueOnError
Type: SystemBoolean
if set to true the server should continue on error.
See Also