Click or drag to resize

InsertMessageTDocument Constructor

Namespace:  MongoDB.Driver.Core.WireProtocol.Messages
Assembly:  MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
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