This documentation is archived and is not being maintained.

InvalidEnumArgumentException Constructor

Initializes a new instance of the InvalidEnumArgumentException class.

Name Description
InvalidEnumArgumentException () Initializes a new instance of the InvalidEnumArgumentException class without a message.
InvalidEnumArgumentException (String) Initializes a new instance of the InvalidEnumArgumentException class with the specified message.
InvalidEnumArgumentException (SerializationInfo, StreamingContext) Initializes a new instance of the InvalidEnumArgumentException class using the specified serialization data and context.
InvalidEnumArgumentException (String, Exception) Initializes a new instance of the InvalidEnumArgumentException class with the specified detailed description and the specified exception.
InvalidEnumArgumentException (String, Int32, Type) Initializes a new instance of the InvalidEnumArgumentException class with a message generated from the argument, the invalid value, and an enumeration class.
Show: