Type0CommandMessageSection Constructor |
Namespace:
MongoDB.Driver.Core.WireProtocol.Messages
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax public Type0CommandMessageSection(
Object document,
IBsonSerializer documentSerializer
)
Public Sub New (
document As Object,
documentSerializer As IBsonSerializer
)
new :
document : Object *
documentSerializer : IBsonSerializer -> Type0CommandMessageSection
Parameters
- document
- Type: SystemObject
The document. - documentSerializer
- Type: MongoDB.Bson.SerializationIBsonSerializer
The document serializer.
See Also