共用方式為


ReportRenderingException 建構函式 (String, Exception, Boolean)

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

命名空間:  Microsoft.ReportingServices.OnDemandReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public Sub New ( _
    message As String, _
    innerException As Exception, _
    unexpected As Boolean _
)
'用途
Dim message As String 
Dim innerException As Exception 
Dim unexpected As Boolean 

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

參數

  • message
    型別:System.String
    The error code for the exception.
  • unexpected
    型別:System.Boolean
    true to indicate that the exception is unexpected; otherwise, false.

請參閱

參考

ReportRenderingException 類別

ReportRenderingException 多載

Microsoft.ReportingServices.OnDemandReportRendering 命名空間