ReportRenderingException Constructors

Definition

Creates a new instance of the ReportRenderingException class.

Overloads

ReportRenderingException(ErrorCode)

Creates a new instance of the ReportRenderingException class with the specified error code.

ReportRenderingException(Exception)

Creates a new instance of the ReportRenderingException class with the specified inner exception.

ReportRenderingException(String)

Creates a new instance of the ReportRenderingException class with the specified error message.

ReportRenderingException(ErrorCode, Exception)

Creates a new instance of the ReportRenderingException class with the specified error code and inner exception.

ReportRenderingException(ErrorCode, Object[])

Creates a new instance of the ReportRenderingException class with the specified error code and arguments for formatting the error message.

ReportRenderingException(Exception, Boolean)

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

ReportRenderingException(SerializationInfo, StreamingContext)

Creates a new instance of the ReportRenderingException class with serialized data.

ReportRenderingException(String, Boolean)

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

ReportRenderingException(String, Exception)

Creates a new instance of the ReportRenderingException class with the specified error message and inner exception.

ReportRenderingException(ErrorCode, Exception, Boolean)

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

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.

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.

ReportRenderingException(ErrorCode, String, Exception, Boolean)

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

ReportRenderingException(ErrorCode)

Creates a new instance of the ReportRenderingException class with the specified error code.

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)

Parameters

errCode
ErrorCode

The error code for the exception.

Applies to

ReportRenderingException(Exception)

Creates a new instance of the ReportRenderingException class with the specified inner exception.

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

Parameters

innerException
Exception

An Exception object that is the cause of the current exception.

Applies to

ReportRenderingException(String)

Creates a new instance of the ReportRenderingException class with the specified error message.

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)

Parameters

message
String

The error message for the exception.

Applies to

ReportRenderingException(ErrorCode, Exception)

Creates a new instance of the ReportRenderingException class with the specified error code and inner exception.

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)

Parameters

errCode
ErrorCode

The error code for the exception.

innerException
Exception

An Exception object that is the cause of the current exception.

Applies to

ReportRenderingException(ErrorCode, Object[])

Creates a new instance of the ReportRenderingException class with the specified error code and arguments for formatting the error message.

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())

Parameters

errCode
ErrorCode

The error code for the exception.

arguments
Object[]

The arguments for formatting the error message.

Applies to

ReportRenderingException(Exception, Boolean)

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

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)

Parameters

innerException
Exception

An Exception object that is the cause of the current exception.

unexpected
Boolean

true to indicate that the exception is unexpected; otherwise, false.

Applies to

ReportRenderingException(SerializationInfo, StreamingContext)

Creates a new instance of the ReportRenderingException class with serialized data.

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)

Parameters

info
SerializationInfo

The object that contains the serialized information about the exception.

context
StreamingContext

The contextual information about the source or destination.

Applies to

ReportRenderingException(String, Boolean)

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

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)

Parameters

message
String

The error message for the exception.

unexpected
Boolean

true to indicate that the exception is unexpected; otherwise, false.

Applies to

ReportRenderingException(String, Exception)

Creates a new instance of the ReportRenderingException class with the specified error message and inner exception.

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)

Parameters

message
String

The error message for the exception.

innerException
Exception

An Exception object that is the cause of the current exception.

Applies to

ReportRenderingException(ErrorCode, Exception, Boolean)

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

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)

Parameters

errCode
ErrorCode

The error code for the exception.

innerException
Exception

An Exception object that is the cause of the current exception.

unexpected
Boolean

true to indicate that the exception is unexpected; otherwise, false.

Applies to

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.

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)

Parameters

errCode
ErrorCode

The error code for the exception.

message
String

The error message for the exception.

unexpected
Boolean

true to indicate that the exception is unexpected; otherwise, false.

Applies to

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.

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)

Parameters

message
String

The error code for the exception.

innerException
Exception

An Exception object that is the cause of the current exception.

unexpected
Boolean

true to indicate that the exception is unexpected; otherwise, false.

Applies to

ReportRenderingException(ErrorCode, String, Exception, Boolean)

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

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)

Parameters

errCode
ErrorCode

The error code for the exception.

message
String

The error message for the exception.

innerException
Exception

An Exception object that is the cause of the current exception.

unexpected
Boolean

true to indicate that the exception is unexpected; otherwise, false.

Applies to