Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Report Namespace / DataAccessException Class / DataAccessException Constructor / DataAccessException Constructor(String,Exception)
The error message that explains the reason for the exception.
The exception that is the cause of the current exception.

In This Topic
    DataAccessException Constructor(String,Exception)
    In This Topic
    Initializes a new instance of the DataAccessException class with a specified error message and a reference to the inner exception that is the cause of this exception.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal msg As String, _
       ByVal x As Exception _
    )
    public DataAccessException( 
       string msg,
       Exception x
    )

    Parameters

    msg
    The error message that explains the reason for the exception.
    x
    The exception that is the cause of the current exception.
    See Also