共用方式為


ReportRenderingException Constructor (ErrorCode, Exception)

Initializes a new instance of the ReportRenderingException class.

命名空間: Microsoft.ReportingServices.ReportRendering
組件: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

語法

'宣告
Public Sub New ( _
    errCode As ErrorCode, _
    innerException As Exception _
)
public ReportRenderingException (
    ErrorCode errCode,
    Exception innerException
)
public:
ReportRenderingException (
    ErrorCode errCode, 
    Exception^ innerException
)
public ReportRenderingException (
    ErrorCode errCode, 
    Exception innerException
)
public function ReportRenderingException (
    errCode : ErrorCode, 
    innerException : Exception
)

參數

  • errCode
    The error code to be returned with the exception.
  • innerException
    The exception to pass to the rendering exception.

備註

This constructor wraps the inner exception with a report rendering exception of the error code.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ReportRenderingException Class
ReportRenderingException Members
Microsoft.ReportingServices.ReportRendering Namespace