此 API 支持 基础结构,但不能通过代码直接使用。
命名空间:  Microsoft.Reporting.WinForms
程序集:  Microsoft.ReportViewer.WinForms(在 Microsoft.ReportViewer.WinForms.dll 中)
语法
声明
Protected Sub New ( _
    message As String, _
    errorCode As String, _
    innerException As Exception _
)
用法
Dim message As String
Dim errorCode As String
Dim innerException As Exception
Dim instance As New ReportServerException(message, _
    errorCode, innerException)
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 function ReportServerException(
    message : String, 
    errorCode : String, 
    innerException : Exception
)
参数
- message
 类型:System.String
- errorCode
 类型:System.String
- innerException
 类型:System.Exception