共用方式為


ReportRenderingException 建構函式 (, Object[])

Creates a new instance of the ReportRenderingException class and format the error message with the specified arguments.

命名空間:  Microsoft.ReportingServices.OnDemandReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public Sub New ( _
    errCode As ErrorCode, _
    ParamArray arguments As Object() _
)
'用途
Dim errCode As ErrorCode
Dim arguments As Object()

Dim instance As New ReportRenderingException(errCode, _
    arguments)
public ReportRenderingException(
    ErrorCode errCode,
    params Object[] arguments
)
public:
ReportRenderingException(
    ErrorCode errCode, 
    ... array<Object^>^ arguments
)
new : 
        errCode:ErrorCode * 
        arguments:Object[] -> ReportRenderingException
public function ReportRenderingException(
    errCode : ErrorCode, 
    ... arguments : Object[]
)

參數

  • errCode
    型別:ErrorCode
    The error code.
  • arguments
    型別:array<System. . :: . .Object> [] () [] []
    The arguments for formatting the error message.