CommandResult Class |
Namespace: MongoDB.Driver
The CommandResult type exposes the following members.
Name | Description | |
---|---|---|
CommandResult |
Initializes a new instance of the CommandResult class.
|
Name | Description | |
---|---|---|
Code |
Gets the code.
| |
ErrorMessage |
Gets the error message (null if none).
| |
Ok |
Gets the Ok value from the response.
| |
Response |
Gets the response.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
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.) |