ReportViewerException 建構函式 (String, Exception)

 

發行︰ 2016年4月

此 API 支援 產品 基礎結構,而且不適合直接從程式碼使用。

使用錯誤訊息和內部例外狀況,初始化 ReportViewerException 類別的新執行個體。

命名空間:   Microsoft.Reporting.WinForms
組件:  Microsoft.ReportViewer.WinForms (於 Microsoft.ReportViewer.WinForms.dll)

語法

protected ReportViewerException(
    string message,
    Exception innerException
)
protected:
ReportViewerException(
    String^ message,
    Exception^ innerException
)
new : 
        message:string *
        innerException:Exception -> ReportViewerException
Protected Sub New (
    message As String,
    innerException As Exception
)

參數

  • innerException
    Type: System.Exception

    導致目前例外狀況發生的內部例外狀況。

另請參閱

ReportViewerException 多載
ReportViewerException 類別
Microsoft.Reporting.WinForms 命名空間

回到頁首