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);
}
/** @event */
public void add_ReportError (ReportErrorEventHandler value)

/** @event */
public void remove_ReportError (ReportErrorEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

解説

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

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

参照

リファレンス

ReportViewer クラス
ReportViewer メンバ
Microsoft.Reporting.WinForms 名前空間