表示查看或配置报表时发生的错误。
继承层次结构
Object
Exception
Microsoft.Reporting.WebForms.ReportViewerException
更多...
命名空间: Microsoft.Reporting.WebForms
程序集: Microsoft.ReportViewer.WebForms(在 Microsoft.ReportViewer.WebForms.dll 中)
语法
声明
<SerializableAttribute> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public MustInherit Class ReportViewerException _
Inherits Exception
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public abstract class ReportViewerException : Exception
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ReportViewerException abstract : public Exception
[<AbstractClass>]
[<SerializableAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ReportViewerException =
class
inherit Exception
end
public abstract class ReportViewerException extends Exception
ReportViewerException 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
ReportViewerException(String) | 基础结构。 使用错误消息初始化 ReportViewerException 类的新实例。 |
![]() |
ReportViewerException(SerializationInfo, StreamingContext) | 基础结构。 使用序列化数据初始化 ReportViewerException 类的新实例。 |
![]() |
ReportViewerException(String, Exception) | 基础结构。 使用错误消息和内部异常初始化 ReportViewerException 类的新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
Data | 获取提供有关异常的其他用户定义信息的键/值对集合。 (继承自 Exception。) |
![]() |
HelpLink | 获取或设置指向与此异常关联的帮助文件链接。 (继承自 Exception。) |
![]() |
HResult | 获取或设置 HRESULT(一个分配给特定异常的编码数字值)。 (继承自 Exception。) |
![]() |
InnerException | 获取导致当前异常的 Exception 实例。 (继承自 Exception。) |
![]() |
Message | 获取描述当前异常的消息。 (继承自 Exception。) |
![]() |
Source | 获取或设置导致错误的应用程序或对象的名称。 (继承自 Exception。) |
![]() |
StackTrace | 获取调用堆栈上的即时框架字符串表示形式。 (继承自 Exception。) |
![]() |
TargetSite | 获取引发当前异常的方法。 (继承自 Exception。) |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) |
![]() |
Finalize | 在垃圾回收将某一对象回收前允许该对象尝试释放资源并执行其他清理操作。 (继承自 Object。) |
![]() |
GetBaseException | 当在派生类中重写时,返回 Exception,它是一个或多个并发的异常的根源。 (继承自 Exception。) |
![]() |
GetHashCode | 作为默认哈希函数。 (继承自 Object。) |
![]() |
GetObjectData | 安全关键。 当在派生类中重写时,用关于异常的信息设置 SerializationInfo。 (继承自 Exception。) |
![]() |
GetType | 获取当前实例的运行时类型。 (继承自 Exception。) |
![]() |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) |
![]() |
ToString | 创建并返回当前异常的字符串表示形式。 (继承自 Exception。) |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
SerializeObjectState | 当异常被序列化用来创建包含有关该异常的徐列出数据的异常状态对象时会出现该问题。 (继承自 Exception。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
请参阅
参考
Microsoft.Reporting.WebForms 命名空间
继承层次结构
Object
Exception
Microsoft.Reporting.WebForms.ReportViewerException
Microsoft.Reporting.WebForms.AspNetSessionExpiredException
Microsoft.Reporting.WebForms.ClientRenderingException
Microsoft.Reporting.WebForms.LocalProcessingException
Microsoft.Reporting.WebForms.MissingDataSourceCredentialsException
Microsoft.Reporting.WebForms.MissingDataSourceException
Microsoft.Reporting.WebForms.MissingParameterException
Microsoft.Reporting.WebForms.MissingReportSourceException
Microsoft.Reporting.WebForms.ReportSecurityException
Microsoft.Reporting.WebForms.ReportServerException
Microsoft.Reporting.WebForms.ViewStateDisabledException