System.ComponentModel.InvalidEnumArgumentException Class

The exception thrown when using invalid arguments that are enumerators.

See Also: InvalidEnumArgumentException Members

Syntax

public class InvalidEnumArgumentException : ArgumentException

Remarks

This exception is thrown if you pass an invalid enumeration value to a method or when setting a property.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0