ReportErrorEventArgs 类

ReportError 事件提供数据。

继承层次结构

Object
  EventArgs
    Microsoft.Reporting.WebForms.ReportErrorEventArgs

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

语法

声明
Public NotInheritable Class ReportErrorEventArgs _
    Inherits EventArgs
public sealed class ReportErrorEventArgs : EventArgs
public ref class ReportErrorEventArgs sealed : public EventArgs
[<Sealed>]
type ReportErrorEventArgs =  
    class
        inherit EventArgs
    end
public final class ReportErrorEventArgs extends EventArgs

ReportErrorEventArgs 类型公开以下成员。

属性

  名称 说明
公共属性 Exception 返回包含报表错误信息的 Exception 对象。
公共属性 Handled 指示宿主应用程序是否已经处理错误。

页首

方法

  名称 说明
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

备注

当发生 ReportError 时,这些数据将被传递到 ReportErrorEventHandler

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.Reporting.WebForms 命名空间