class InvalidEnumArgumentException
in global :: System . ComponentModel
The exception thrown when using invalid arguments that are enumerators.
public InvalidEnumArgumentException( string message )
Initializes a new instance of the class with the specified message.
messageThe message to display with this exception.
public InvalidEnumArgumentException( string message, Exception innerException )
Initializes a new instance of the class with the specified detailed description and the specified exception.
messageA detailed description of the error.innerExceptionA reference to the inner exception that is the cause of this exception.
public InvalidEnumArgumentException( string argumentName, int invalidValue, Type enumClass )
Initializes a new instance of the class with a message generated from the argument, the invalid value, and an enumeration class.
argumentNameThe name of the argument that caused the exception.invalidValueThe value of the argument that failed.enumClassA that represents the enumeration class with the valid values.
public InvalidEnumArgumentException( )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public string StackTrace { get; }
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public int HResult { get; set; }
😔 No documentation found.
public string Source { get; set; }
😔 No documentation found.
public string HelpLink { get; set; }
😔 No documentation found.
public Exception InnerException { get; }
😔 No documentation found.
public Exception GetBaseException( )
😔 No documentation found.
public IDictionary Data { get; }
😔 No documentation found.
public string ParamName { get; }
😔 No documentation found.
public string Message { get; }
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public void GetObjectData( SerializationInfo info, StreamingContext context )
😔 No documentation found.