ReportViewerException 构造函数 (SerializationInfo, StreamingContext)

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

使用序列化数据初始化 ReportViewerException 类的新实例。

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

语法

声明
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
protected ReportViewerException(
    SerializationInfo info,
    StreamingContext context
)
protected:
ReportViewerException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> ReportViewerException
protected function ReportViewerException(
    info : SerializationInfo, 
    context : StreamingContext
)

参数

  • info
    类型:SerializationInfo
    包含有关正在引发的异常的序列化数据的 [System.Runtime.Serialization.SerializationInfo]。
  • context
    类型:StreamingContext
    有关源或目标的上下文信息。

请参阅

参考

ReportViewerException 类

ReportViewerException 重载

Microsoft.Reporting.WebForms 命名空间