dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBException Class
Properties Methods Events


On this page
    MongoDBException Class Members
    On this page

    The following tables list the members exposed by MongoDBException.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets the error code within the domain; for a server error, the server error code (for example, 11000 for a duplicate key).  
    Public Property (Inherited from System.Exception)
    Public PropertyGets the libmongoc error domain (MongoDBErrorDomain); None for an error of the provider itself.  
    Public Property (Inherited from System.Runtime.InteropServices.ExternalException)
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from System.Exception)
    Public PropertyGets 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.  
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from System.Exception)
    Public Property (Inherited from System.Exception)
    Top
    Public Methods
     NameDescription
    Public Method (Inherited from System.Exception)
    Public MethodOverridden. Sets the SerializationInfo with information about the exception, including the Domain and Code values.  
    Public Method (Inherited from System.Exception)
    Public Method (Inherited from System.Runtime.InteropServices.ExternalException)
    Top
    Protected Events
     NameDescription
    Protected Event (Inherited from System.Exception)
    Top
    See Also