dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBException Class / Code Property

On this page
    Code Property
    On this page
    Gets the error code within the domain; for a server error, the server error code (for example, 11000 for a duplicate key).
    Syntax
    'Declaration
     
    Public ReadOnly Property Code As Integer
    public int Code {get;}
    See Also