Udostępnij za pośrednictwem


ReportRenderingException Constructor (ErrorCode, Object[])

Initializes a new instance of the ReportRenderingException class.

Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

Syntax

'Declaration
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[]
)

Parameters

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

Remarks

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ReportRenderingException Class
ReportRenderingException Members
Microsoft.ReportingServices.ReportRendering Namespace