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

Thrown when an annotation has invalid properties or structure during import or processing.

Definition

Constructors

Initializes a new instance of the InvalidAnnotationException class.

C#
public InvalidAnnotationException()

Initializes a new instance of the InvalidAnnotationException class.

C#
protected InvalidAnnotationException(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.

Initializes a new instance of the InvalidAnnotationException class.

C#
public InvalidAnnotationException(string message, Exception cause)
Parameters:messagestring

The message that describes the error.

causeException

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Initializes a new instance of the InvalidAnnotationException class.

C#
public InvalidAnnotationException(string message)
Parameters:messagestring

The message that describes the error.