共用方式為


ReportRenderingException Constructor (ErrorCode, Object[])

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, _
    ParamArray arguments As Object() _
)
public ReportRenderingException (
    ErrorCode errCode,
    params Object[] arguments
)
public:
ReportRenderingException (
    ErrorCode errCode, 
    ... array<Object^>^ arguments
)
public ReportRenderingException (
    ErrorCode errCode, 
    Object[] arguments
)
public function ReportRenderingException (
    errCode : ErrorCode, 
    ... arguments : Object[]
)

參數

  • errCode
    The error code to be returned with the exception.
  • arguments
    An array containing he formatting specifications to apply to the error code.

備註

This constructor creates a report rendering exception with the error code, and formats the error message with the supplied arguments.

平台

開發平台

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

目標平台

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

請參閱

參考

ReportRenderingException Class
ReportRenderingException Members
Microsoft.ReportingServices.ReportRendering Namespace