Share via


ReportServerException Constructor (String, 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 ReportServerException class with error message, error code, and inner exception.

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

Syntax

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

Parameters

  • message
    Type: System.String

    The message that describes the error.

  • errorCode
    Type: System.String

    The error code for the exception.

  • innerException
    Type: System.Exception

    The inner exception that is the cause of the current exception, or null if no inner exception is given.

See Also

ReportServerException Overload
ReportServerException Class
Microsoft.Reporting.WinForms Namespace

Return to top