Share via


InvalidCastException Class

The exception that is thrown whenever invalid casting or explicit conversion occurs.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

[SerializableAttribute]
public class InvalidCastException : SystemException

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

InvalidCastException Members
System Namespace