Class
InvalidAnnotationException

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

Definition

Constructors

InvalidAnnotationException()

Initializes a new instance of the InvalidAnnotationException class.

Declaration

cs-api-definition
public InvalidAnnotationException()

InvalidAnnotationException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidAnnotationException class.

Declaration

cs-api-definition
protected InvalidAnnotationException(SerializationInfo info, StreamingContext context)

Parameters

info

SerializationInfo

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

context

StreamingContext

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

InvalidAnnotationException(string)

Initializes a new instance of the InvalidAnnotationException class.

Declaration

cs-api-definition
public InvalidAnnotationException(string message)

Parameters

message

string

The message that describes the error.

InvalidAnnotationException(string, Exception)

Initializes a new instance of the InvalidAnnotationException class.

Declaration

cs-api-definition
public InvalidAnnotationException(string message, Exception cause)

Parameters

message

string

The message that describes the error.

cause

Exception

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