ReportViewerException 构造函数 (String, Exception)

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

使用错误消息和内部异常初始化 ReportViewerException 类的新实例。

命名空间:  Microsoft.Reporting.WebForms
程序集:  Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)

语法

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

参数

  • message
    类型:String
    描述错误的消息。
  • innerException
    类型:Exception
    造成当前异常的内部异常。

请参阅

参考

ReportViewerException 类

ReportViewerException 重载

Microsoft.Reporting.WebForms 命名空间