Click or drag to resize

InsertMessageTDocument Constructor

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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