[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.InvalidLengthException.-ctor

InvalidLengthException Constructor

InvalidLengthException()

Initializes a new instance of the InvalidLengthException class.

Declaration
public InvalidLengthException()

InvalidLengthException(string)

Initializes a new instance of the InvalidLengthException class using a specified error message.

Declaration
public InvalidLengthException(string message)
Parameters
Type Name Description
string message

A string value indicating the error message.

InvalidLengthException(string, Exception)

Initializes a new instance of the InvalidLengthException class using a specified error message and a reference to the inner exception that caused this exception.

Declaration
public InvalidLengthException(string message, Exception innerException)
Parameters
Type Name Description
string message

A string value indicating the error message that explained the reason for the exception.

Exception innerException

An Exception object that caused the current exception.

Remarks

If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

InvalidLengthException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidLengthException class using a serialized data.

Declaration
protected InvalidLengthException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The object that holds the serialized object data.

StreamingContext context

The contextual information about the source or destination.

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.