ReportRenderingException-Konstruktor (ErrorCode, String, Exception, Boolean)
Creates a new instance of the ReportRenderingException class with the specified error code, error message, 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, _
message As String, _
innerException As Exception, _
unexpected As Boolean _
)
'Usage
Dim errCode As ErrorCode
Dim message As String
Dim innerException As Exception
Dim unexpected As Boolean
Dim instance As New ReportRenderingException(errCode, _
message, innerException, unexpected)
public ReportRenderingException(
ErrorCode errCode,
string message,
Exception innerException,
bool unexpected
)
public:
ReportRenderingException(
ErrorCode errCode,
String^ message,
Exception^ innerException,
bool unexpected
)
new :
errCode:ErrorCode *
message:string *
innerException:Exception *
unexpected:bool -> ReportRenderingException
public function ReportRenderingException(
errCode : ErrorCode,
message : String,
innerException : Exception,
unexpected : boolean
)
Parameter
- errCode
Typ: ErrorCode
The error code for the exception.
- message
Typ: System.String
The error message for the exception.
- innerException
Typ: System.Exception
An Exception object that is the cause of the current exception.
- unexpected
Typ: System.Boolean
true to indicate that the exception is unexpected; otherwise, false.
Siehe auch
Verweis
ReportRenderingException Klasse
ReportRenderingException-Überladung
Microsoft.ReportingServices.OnDemandReportRendering-Namespace