ReportViewerException Constructor (String, Exception)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the ReportViewerException class with error message and inner exception.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Syntax

protected ReportViewerException(
    string message,
    Exception innerException
)
protected:
ReportViewerException(
    String^ message,
    Exception^ innerException
)
new : 
        message:string *
        innerException:Exception -> ReportViewerException
Protected Sub New (
    message As String,
    innerException As Exception
)

Parameters

  • message
    Type: System.String

    The message that describes the error.

  • innerException
    Type: System.Exception

    The inner exception that is the cause of the current exception.

See Also

ReportViewerException Overload
ReportViewerException Class
Microsoft.Reporting.WinForms Namespace

Return to top