Click or drag to resize

InsertMessageTDocument Constructor

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
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