语言

ReportRenderingException 构造函数

定义

创建类的新实例 ReportRenderingException 。

重载

名称 说明
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

适用于