ReportRenderingException Constructor (String, Boolean)

Creates a new instance of the ReportRenderingException class with the specified error message 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 ( _
    message As String, _
    unexpected As Boolean _
)
'Usage
Dim message As String 
Dim unexpected As Boolean 

Dim instance As New ReportRenderingException(message, _
    unexpected)
public ReportRenderingException(
    string message,
    bool unexpected
)
public:
ReportRenderingException(
    String^ message, 
    bool unexpected
)
new : 
        message:string * 
        unexpected:bool -> ReportRenderingException
public function ReportRenderingException(
    message : String, 
    unexpected : boolean
)

Parameters

  • message
    Type: System.String
    The error message 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