MongoDBMessage Class |
Namespace: MongoDB.Driver.Core.WireProtocol.Messages
The MongoDBMessage type exposes the following members.
Name | Description | |
---|---|---|
MongoDBMessage | Initializes a new instance of the MongoDBMessage class |
Name | Description | |
---|---|---|
MessageType |
Gets the type of the message.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEncoder |
Gets an encoder for the message from an encoder factory.
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |