Represents the result of a command (there are also subclasses for various commands).
Inheritance Hierarchy Namespace: MongoDB.DriverMongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax[SerializableAttribute] public class CommandResult
<SerializableAttribute> Public Class CommandResult
[<SerializableAttribute>] type CommandResult = class end
The CommandResult type exposes the following members.
Constructors Name Description CommandResultInitializes a new instance of the CommandResult class.
Top Properties Name Description CodeGets the code.
ErrorMessageGets the error message (null if none).
OkGets the Ok value from the response.
ResponseGets the response.
Top Methods Name Description EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object.) FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.) GetHashCodeServes as the default hash function.
(Inherited from Object.) GetTypeGets the
Typeof the current instance.
(Inherited from Object.) MemberwiseCloneCreates a shallow copy of the current
Object.
(Inherited from Object.) ToStringReturns a string that represents the current object.
(Inherited from Object.) Top Extension Methods See Also Inheritance HierarchyRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4