ReportViewer.ReportError イベント

レポートでエラーが発生したときに発生します。

名前空間:  Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll)

構文

'宣言
Public Event ReportError As ReportErrorEventHandler
'使用
Dim instance As ReportViewer
Dim handler As ReportErrorEventHandler

AddHandler instance.ReportError, handler
public event ReportErrorEventHandler ReportError
public:
 event ReportErrorEventHandler^ ReportError {
    void add (ReportErrorEventHandler^ value);
    void remove (ReportErrorEventHandler^ value);
}
member ReportError : IEvent<ReportErrorEventHandler,
    ReportErrorEventArgs>
JScript では、イベントは使用できますが、新規に宣言することはできません。

説明

このイベントは、レポートでエラーが発生したときに発生します。このイベントに関する情報は、ReportErrorEventArgs オブジェクトによって、イベントを処理する ReportErrorEventHandler デリゲートに渡されます。

イベント処理の詳細については、「Consuming Events」を参照してください。

関連項目

参照

ReportViewer クラス

Microsoft.Reporting.WinForms 名前空間