InvalidEnumArgumentException (System.ComponentModel.InvalidEnumArgumentException)

Inherits: System.ArgumentException

Interfaces: ISerializable, _Exception

Derived Types: 0

Assembly: System.dll

The exception thrown when using invalid arguments that are enumerators.

VB.NET C#

C#

public class InvalidEnumArgumentException : System.ArgumentException, System.Runtime.Serialization.ISerializable, System.Runtime.InteropServices._Exception
{
}

Articles

InvalidEnumArgumentException (Clase)

System.Object System.Exception System.SystemException System.ArgumentException System.ComponentModel.InvalidEnumArgumentException

Classe InvalidEnumArgumentException

System.Object System.Exception System.SystemException System.ArgumentException System.ComponentModel.InvalidEnumArgumentException

InvalidEnumArgumentException

Internal Error and enums ... your instance you might consider throwing either a System.ArgumentException or System.ComponentModel. InvalidEnumArgumentException . alunharford@yahoo ...

Mono Documentation

System.Object System.Exception System.SystemException System.ArgumentException System.ComponentModel.InvalidEnumArgumentException

Mono Documentation

The members of System.ComponentModel.InvalidEnumArgumentException are listed below. See Also: Inherited members from System.ArgumentException

InvalidEnumArgumentException Class (System.ComponentModel)

... myButton = CType(123, MessageBoxButtons) MessageBox.Show( "This is a message" , "This is the Caption" , myButton) Catch invE As System.ComponentModel.InvalidEnumArgumentException ...

InvalidEnumArgumentException Class (System.ComponentModel)

The exception thrown when using invalid arguments that are enumerators. ... The exception thrown when using invalid arguments that are enumerators. Namespace: System.ComponentModel

Custom .NET Training ASP.NET Training Silverlight Training LINQ Training IT Support