HandleError Method (Viewer)
Handles runtime error on the viewer.
'Declaration
Public Sub HandleError( _
ByVal As Exception _
)
Parameters
- ex
- The exception to report.
var viewer = new Viewer();
// Example of handling an error that might occur during document loading.
try
{
viewer.LoadDocument("path/to/your/report.rdlx");
}
catch (Exception ex)
{
viewer.HandleError(ex);
}