Udostępnij za pośrednictwem


ReportRenderingException Constructor (ErrorCode, Exception)

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, _
    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
)

Parameters

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

Remarks

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

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