New to Telerik UI for WinFormsStart a free 30-day trial

Represents the exception class for iCalendar parser-specific exceptions.

Definition

Constructors

Initializes a new instance of the CalendarParseException class.

C#
public CalendarParseException()

Initializes a new instance of the CalendarParseException class.

C#
protected CalendarParseException(SerializationInfo info, StreamingContext context)
Parameters:infoSerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

contextStreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions:

ArgumentNullException

The info parameter is null.

SerializationException

The class name is null or HResult is zero (0).

Initializes a new instance of the CalendarParseException class.

C#
public CalendarParseException(string message, Exception inner)
Parameters:messagestring

The message.

innerException

The inner.

Initializes a new instance of the CalendarParseException class.

C#
public CalendarParseException(string message)
Parameters:messagestring

The message.