Creates a new instance of the ReportRenderingException class with the specified error message and flag indicating whether the exception is unexpected.
命名空间: Microsoft.ReportingServices.OnDemandReportRendering
程序集: Microsoft.ReportingServices.ProcessingCore(在 Microsoft.ReportingServices.ProcessingCore.dll 中)
语法
声明
Public Sub New ( _
message As String, _
unexpected As Boolean _
)
用法
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
)
参数
- message
类型:System.String
The error message for the exception.
- unexpected
类型:System.Boolean
true to indicate that the exception is unexpected; otherwise, false.