dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBException Class / MongoDBException Constructor / MongoDBException Constructor(String,Exception)

On this page
    MongoDBException Constructor(String,Exception)
    On this page
    Initializes a new instance of the MongoDBException class with the specified error message and a reference to the inner exception that caused it.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal msg As String, _
       ByVal innerException As Exception _
    )
    public MongoDBException( 
       string msg,
       Exception innerException
    )

    Parameters

    msg
    innerException
    See Also