Поделиться через


ReportViewer.ReportError Event

Raised when an error occurs in the report.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
Public Event ReportError As ReportErrorEventHandler
'Usage
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.

Remarks

This event is raised when an error occurs in the report. Information about this event is passed in a ReportErrorEventArgs object to the ReportErrorEventHandler delegate, which handles the event.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace