語言

ReportRenderingException 建構函式

定義

建立 ReportRenderingException 類別的新實例。

多載

名稱 Description
ReportRenderingException(ErrorCode)

建立一個帶有指定錯誤碼的新類別實例 ReportRenderingException 。

ReportRenderingException(Exception)

建立一個帶有指定內部例外的類別新實例 ReportRenderingException 。

ReportRenderingException(String)

建立一個帶有指定錯誤訊息的新 ReportRenderingException 類別實例。

ReportRenderingException(ErrorCode, Exception)

建立一個新的類別實例 ReportRenderingException ,包含指定的錯誤代碼和內部例外。

ReportRenderingException(ErrorCode, Object[])

建立一個新的類別實例 ReportRenderingException ,並附上指定的錯誤代碼及格式化錯誤訊息的參數。

ReportRenderingException(Exception, Boolean)

建立一個新的類別實例 ReportRenderingException ,並設定指定的內部例外及指示異常是否為意外的標誌。

ReportRenderingException(SerializationInfo, StreamingContext)

建立一個帶有序列化資料的新 ReportRenderingException 類別實例。

ReportRenderingException(String, Boolean)

建立一個新的類別實例 ReportRenderingException ,並帶有指定的錯誤訊息與標誌,指示該例外是否為意外。

ReportRenderingException(String, Exception)

建立一個新的類別實例 ReportRenderingException ,並帶有指定的錯誤訊息和內部例外。

ReportRenderingException(ErrorCode, Exception, Boolean)

建立一個新的類別實例 ReportRenderingException ,並包含指定的錯誤代碼、內部例外,以及指示異常是否意外的旗標。

ReportRenderingException(ErrorCode, String, Boolean)

建立一個新的類別實例 ReportRenderingException ,並附上指定的錯誤代碼、錯誤訊息及標示異常是否意外。

ReportRenderingException(String, Exception, Boolean)

建立一個新的類別實例 ReportRenderingException ,並包含指定的錯誤訊息、內部例外,以及指示異常是否意外的標誌。

ReportRenderingException(ErrorCode, String, Exception, Boolean)

建立一個新的類別實例 ReportRenderingException ,包含指定的錯誤代碼、錯誤訊息、內部例外及指示異常是否意外的旗標。

ReportRenderingException(ErrorCode)

建立一個帶有指定錯誤碼的新類別實例 ReportRenderingException 。

public:
 ReportRenderingException(Microsoft::ReportingServices::Diagnostics::Utilities::ErrorCode errCode);
public ReportRenderingException(Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode errCode);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (errCode As ErrorCode)

參數

errCode
ErrorCode

例外的錯誤代碼。

適用於

ReportRenderingException(Exception)

建立一個帶有指定內部例外的類別新實例 ReportRenderingException 。

public:
 ReportRenderingException(Exception ^ innerException);
public ReportRenderingException(Exception innerException);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : Exception -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (innerException As Exception)

參數

innerException
Exception

一個 Exception 導致當前例外的物件。

適用於

ReportRenderingException(String)

建立一個帶有指定錯誤訊息的新 ReportRenderingException 類別實例。

public:
 ReportRenderingException(System::String ^ message);
public ReportRenderingException(string message);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : string -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (message As String)

參數

message
String

例外的錯誤訊息。

適用於

ReportRenderingException(ErrorCode, Exception)

建立一個新的類別實例 ReportRenderingException ,包含指定的錯誤代碼和內部例外。

public:
 ReportRenderingException(Microsoft::ReportingServices::Diagnostics::Utilities::ErrorCode errCode, Exception ^ innerException);
public ReportRenderingException(Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode errCode, Exception innerException);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode * Exception -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (errCode As ErrorCode, innerException As Exception)

參數

errCode
ErrorCode

例外的錯誤代碼。

innerException
Exception

一個 Exception 導致當前例外的物件。

適用於

ReportRenderingException(ErrorCode, Object[])

建立一個新的類別實例 ReportRenderingException ,並附上指定的錯誤代碼及格式化錯誤訊息的參數。

public:
 ReportRenderingException(Microsoft::ReportingServices::Diagnostics::Utilities::ErrorCode errCode, ... cli::array <System::Object ^> ^ arguments);
public ReportRenderingException(Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode errCode, params object[] arguments);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode * obj[] -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (errCode As ErrorCode, ParamArray arguments As Object())

參數

errCode
ErrorCode

例外的錯誤代碼。

arguments
Object[]

格式化錯誤訊息的論點。

適用於

ReportRenderingException(Exception, Boolean)

建立一個新的類別實例 ReportRenderingException ,並設定指定的內部例外及指示異常是否為意外的標誌。

public:
 ReportRenderingException(Exception ^ innerException, bool unexpected);
public ReportRenderingException(Exception innerException, bool unexpected);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : Exception * bool -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (innerException As Exception, unexpected As Boolean)

參數

innerException
Exception

一個 Exception 導致當前例外的物件。

unexpected
Boolean

true表示該例外是意外的;否則,。 false

適用於

ReportRenderingException(SerializationInfo, StreamingContext)

建立一個帶有序列化資料的新 ReportRenderingException 類別實例。

protected:
 ReportRenderingException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ReportRenderingException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

包含關於例外序列化資訊的物件。

context
StreamingContext

關於來源或目的地的上下文資訊。

適用於

ReportRenderingException(String, Boolean)

建立一個新的類別實例 ReportRenderingException ,並帶有指定的錯誤訊息與標誌,指示該例外是否為意外。

public:
 ReportRenderingException(System::String ^ message, bool unexpected);
public ReportRenderingException(string message, bool unexpected);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : string * bool -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (message As String, unexpected As Boolean)

參數

message
String

例外的錯誤訊息。

unexpected
Boolean

true表示該例外是意外的;否則,。 false

適用於

ReportRenderingException(String, Exception)

建立一個新的類別實例 ReportRenderingException ,並帶有指定的錯誤訊息和內部例外。

public:
 ReportRenderingException(System::String ^ message, Exception ^ innerException);
public ReportRenderingException(string message, Exception innerException);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : string * Exception -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (message As String, innerException As Exception)

參數

message
String

例外的錯誤訊息。

innerException
Exception

一個 Exception 導致當前例外的物件。

適用於

ReportRenderingException(ErrorCode, Exception, Boolean)

建立一個新的類別實例 ReportRenderingException ,並包含指定的錯誤代碼、內部例外,以及指示異常是否意外的旗標。

public:
 ReportRenderingException(Microsoft::ReportingServices::Diagnostics::Utilities::ErrorCode errCode, Exception ^ innerException, bool unexpected);
public ReportRenderingException(Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode errCode, Exception innerException, bool unexpected);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode * Exception * bool -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (errCode As ErrorCode, innerException As Exception, unexpected As Boolean)

參數

errCode
ErrorCode

例外的錯誤代碼。

innerException
Exception

一個 Exception 導致當前例外的物件。

unexpected
Boolean

true表示該例外是意外的;否則,。 false

適用於

ReportRenderingException(ErrorCode, String, Boolean)

建立一個新的類別實例 ReportRenderingException ,並附上指定的錯誤代碼、錯誤訊息及標示異常是否意外。

public:
 ReportRenderingException(Microsoft::ReportingServices::Diagnostics::Utilities::ErrorCode errCode, System::String ^ message, bool unexpected);
public ReportRenderingException(Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode errCode, string message, bool unexpected);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode * string * bool -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (errCode As ErrorCode, message As String, unexpected As Boolean)

參數

errCode
ErrorCode

例外的錯誤代碼。

message
String

例外的錯誤訊息。

unexpected
Boolean

true表示該例外是意外的;否則,。 false

適用於

ReportRenderingException(String, Exception, Boolean)

建立一個新的類別實例 ReportRenderingException ,並包含指定的錯誤訊息、內部例外,以及指示異常是否意外的標誌。

public:
 ReportRenderingException(System::String ^ message, Exception ^ innerException, bool unexpected);
public ReportRenderingException(string message, Exception innerException, bool unexpected);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : string * Exception * bool -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (message As String, innerException As Exception, unexpected As Boolean)

參數

message
String

例外的錯誤代碼。

innerException
Exception

一個 Exception 導致當前例外的物件。

unexpected
Boolean

true表示該例外是意外的;否則,。 false

適用於

ReportRenderingException(ErrorCode, String, Exception, Boolean)

建立一個新的類別實例 ReportRenderingException ,包含指定的錯誤代碼、錯誤訊息、內部例外及指示異常是否意外的旗標。

public:
 ReportRenderingException(Microsoft::ReportingServices::Diagnostics::Utilities::ErrorCode errCode, System::String ^ message, Exception ^ innerException, bool unexpected);
public ReportRenderingException(Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode errCode, string message, Exception innerException, bool unexpected);
new Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException : Microsoft.ReportingServices.Diagnostics.Utilities.ErrorCode * string * Exception * bool -> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException
Public Sub New (errCode As ErrorCode, message As String, innerException As Exception, unexpected As Boolean)

參數

errCode
ErrorCode

例外的錯誤代碼。

message
String

例外的錯誤訊息。

innerException
Exception

一個 Exception 導致當前例外的物件。

unexpected
Boolean

true表示該例外是意外的;否則,。 false

適用於