[This is preliminary documentation and is subject to change.]
The MongoDBDataAccessException type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | MongoDBDataAccessException | Initializes a new instance of the MongoDBDataAccessException class |
![]() | MongoDBDataAccessException(String) | Initializes a new instance of the MongoDBDataAccessException class |
![]() | MongoDBDataAccessException(SerializationInfo, StreamingContext) | Initializes a new instance of the MongoDBDataAccessException class |
![]() | MongoDBDataAccessException(String, Exception) | Initializes a new instance of the MongoDBDataAccessException class |
![]() | MongoDBDataAccessException(String, KeyViolationKind, String) | Initializes a new instance of the MongoDBDataAccessException class |
![]() | MongoDBDataAccessException(String, Exception, KeyViolationKind, String) | Initializes a new instance of the MongoDBDataAccessException class |
Methods
Name | Description | |
---|---|---|
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | When overridden in a derived class, returns the (Inherited from ![]() ![]() |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | When overridden in a derived class, sets the (Inherited from ![]() ![]() |
![]() | ![]() | Gets the runtime type of the current instance. (Inherited from ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Creates and returns a string representation of the current exception. (Inherited from ![]() |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() | KeyViolation |
Provides the name of entity/index/field that was violated and resulted in this exception
(Inherited from DataAccessException.) |
![]() | KeyViolationKind |
Spcifies the sub-type of key violation
(Inherited from DataAccessException.) |
Properties
Name | Description | |
---|---|---|
![]() | Code |
Provides general-purpose error code
(Inherited from NFXException.) |
![]() | ![]() | Gets a collection of key/value pairs that provide additional user-defined information about the exception. (Inherited from ![]() |
![]() | ![]() | Gets or sets a link to the help file associated with this exception. (Inherited from ![]() |
![]() | ![]() | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | ![]() | Gets a message that describes the current exception. (Inherited from ![]() |
![]() | ![]() | Gets or sets the name of the application or the object that causes the error. (Inherited from ![]() |
![]() | ![]() | Gets a string representation of the immediate frames on the call stack. (Inherited from ![]() |
![]() | ![]() | Gets the method that throws the current exception. (Inherited from ![]() |
Events
Name | Description | |
---|---|---|
![]() | ![]() | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from ![]() |
See Also