PostSharp.ILAPI ReferencePost­Sharp.​ExtensibilityInvalid­Annotation­ExceptionInvalid­Annotation­Exception
Open sandboxFocus

InvalidAnnotationException Constructor

InvalidAnnotationException()

Initializes a new InvalidAnnotationException with default message.

Declaration
public InvalidAnnotationException()

InvalidAnnotationException(String)

Initializes a new InvalidAnnotationException and with a specified exception message.

Declaration
public InvalidAnnotationException(string message)
Parameters
Type Name Description
String message

Exception message

InvalidAnnotationException(String, Exception)

Initializes a new InvalidAnnotationException with a specified exception message and inner System.Exception.

Declaration
public InvalidAnnotationException(string message, Exception inner)
Parameters
Type Name Description
String message

Exception message.

System.Exception inner

Inner exception.

InvalidAnnotationException(SerializationInfo, StreamingContext)

Deserialization constructor.

Declaration
protected InvalidAnnotationException(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

Info.

StreamingContext context

Context.