共用方式為


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

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

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

語法

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

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

參數

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

請參閱

參考

ReportRenderingException 類別

ReportRenderingException 多載

Microsoft.ReportingServices.OnDemandReportRendering 命名空間