Name
InvalidEnumArgumentException
Synopsis
This exception class is thrown when an invalid enumeration is passed to a method or property.
public class InvalidEnumArgumentException : ArgumentException { // Public Constructors public InvalidEnumArgumentException(); public InvalidEnumArgumentException(string message); public InvalidEnumArgumentException(string argumentName, int invalidValue, Type enumClass); }
Hierarchy
System.Object
→ System.Exception(System.Runtime.Serialization.ISerializable) → System.SystemException → System.ArgumentException → InvalidEnumArgumentException
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.