| Name | Description | |
|---|---|---|
![]() | MongoDBException Constructor | Overloaded. |
The following tables list the members exposed by MongoDBException.
| Name | Description | |
|---|---|---|
![]() | MongoDBException Constructor | Overloaded. |
| Name | Description | |
|---|---|---|
![]() | Code | Gets the error code within the domain; for a server error, the server error code (for example, 11000 for a duplicate key). |
![]() | Data | (Inherited from System.Exception) |
![]() | Domain | Gets the libmongoc error domain (MongoDBErrorDomain); None for an error of the provider itself. |
![]() | ErrorCode | (Inherited from System.Runtime.InteropServices.ExternalException) |
![]() | HelpLink | (Inherited from System.Exception) |
![]() | HResult | (Inherited from System.Exception) |
![]() | InnerException | (Inherited from System.Exception) |
![]() | IsTransient | Gets a value indicating whether the operation may succeed if repeated: the connection broke, no suitable server was found, or the server returned a retryable error. |
![]() | Message | (Inherited from System.Exception) |
![]() | Source | (Inherited from System.Exception) |
![]() | StackTrace | (Inherited from System.Exception) |
![]() | TargetSite | (Inherited from System.Exception) |
| Name | Description | |
|---|---|---|
![]() | GetBaseException | (Inherited from System.Exception) |
![]() | GetObjectData | Overridden. Sets the SerializationInfo with information about the exception, including the Domain and Code values. |
![]() | GetType | (Inherited from System.Exception) |
![]() | ToString | (Inherited from System.Runtime.InteropServices.ExternalException) |
| Name | Description | |
|---|---|---|
![]() | SerializeObjectState | (Inherited from System.Exception) |