Class AsposeInvalidEnumArgumentException

AsposeInvalidEnumArgumentException class

The exception that is thrown when an argument is not a valid value of its enumeration.

public class AsposeInvalidEnumArgumentException : AsposeException

Constructors

NameDescription
AsposeInvalidEnumArgumentException()Initializes a new instance of the AsposeInvalidEnumArgumentException class.
AsposeInvalidEnumArgumentException(Exception)Initializes a new instance of the AsposeInvalidEnumArgumentException class with a reference to the exception that caused it.
AsposeInvalidEnumArgumentException(string)Initializes a new instance of the AsposeInvalidEnumArgumentException class with the specified error message.
AsposeInvalidEnumArgumentException(string, Exception)Initializes a new instance of the AsposeInvalidEnumArgumentException class with the specified error message and a reference to the exception that caused it.
AsposeInvalidEnumArgumentException(string, params object[])Initializes a new instance of the AsposeInvalidEnumArgumentException class with an error message built from a composite format string.

Properties

NameDescription
ErrorDetails { get; }Gets additional information about the error, if the operation provides any.
override Message { get; }Gets the message that describes the error.

Methods

NameDescription
override ToString()Returns the type, the message and the stack trace of the exception.

See Also