RenderingCompleteEventArgs.Exception 属性

如果已发生异常,则包含 Exception 对象。

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

语法

声明
Public ReadOnly Property Exception As Exception
    Get
用法
Dim instance As RenderingCompleteEventArgs
Dim value As Exception

value = instance.Exception
public Exception Exception { get; }
public:
property Exception^ Exception {
    Exception^ get ();
}
member Exception : Exception
function get Exception () : Exception

属性值

类型:System.Exception
如果在报表呈现期间已发生异常,则为 Exception 对象;如果没有发生异常,则为 nullnull 引用(在 Visual Basic 中为 Nothing)。

请参阅

参考

RenderingCompleteEventArgs 类

Microsoft.Reporting.WinForms 命名空间