MongoNotPrimaryException Properties |
The MongoNotPrimaryException type exposes the following members.
Name | Description | |
---|---|---|
Code |
Gets the error code.
(Inherited from MongoCommandException.) | |
CodeName |
Gets the name of the error code.
(Inherited from MongoCommandException.) | |
Command |
Gets the command.
(Inherited from MongoCommandException.) | |
ConnectionId |
Gets the connection identifier.
(Inherited from MongoServerException.) | |
Data | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from Exception.) | |
ErrorLabels |
Gets the error labels.
(Inherited from MongoException.) | |
ErrorMessage |
Gets the error message.
(Inherited from MongoCommandException.) | |
HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) | |
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) | |
InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | |
Message | Gets a message that describes the current exception. (Inherited from Exception.) | |
Result |
Gets the command result.
(Inherited from MongoCommandException.) | |
Source | Gets or sets the name of the application or the object that causes the error. (Inherited from Exception.) | |
StackTrace | Gets a string representation of the immediate frames on the call stack. (Inherited from Exception.) | |
TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |