ReportRenderingException Constructor (ErrorCode, Exception, Boolean)

Creates a new instance of the ReportRenderingException class with the specified error code, inner exception, and flag indicating whether the exception is unexpected.

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public Sub New ( _
    errCode As ErrorCode, _
    innerException As Exception, _
    unexpected As Boolean _
)
'Usage
Dim errCode As ErrorCode 
Dim innerException As Exception 
Dim unexpected As Boolean 

Dim instance As New ReportRenderingException(errCode, _
    innerException, unexpected)
public ReportRenderingException(
    ErrorCode errCode,
    Exception innerException,
    bool unexpected
)
public:
ReportRenderingException(
    ErrorCode errCode, 
    Exception^ innerException, 
    bool unexpected
)
new : 
        errCode:ErrorCode * 
        innerException:Exception * 
        unexpected:bool -> ReportRenderingException
public function ReportRenderingException(
    errCode : ErrorCode, 
    innerException : Exception, 
    unexpected : boolean
)

Parameters

  • errCode
    Type: ErrorCode
    The error code for the exception.
  • unexpected
    Type: System.Boolean
    true to indicate that the exception is unexpected; otherwise, false.

See Also

Reference

ReportRenderingException Class

ReportRenderingException Overload

Microsoft.ReportingServices.OnDemandReportRendering Namespace