InvalidCastException Constructor
.NET Framework (current version)
Initializes a new instance of the InvalidCastException class.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | InvalidCastException() | Initializes a new instance of the InvalidCastException class. |
![]() | InvalidCastException(SerializationInfo^, StreamingContext) | Initializes a new instance of the InvalidCastException class with serialized data. |
![]() | InvalidCastException(String^) | Initializes a new instance of the InvalidCastException class with a specified error message. |
![]() | InvalidCastException(String^, Exception^) | Initializes a new instance of the InvalidCastException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
![]() | InvalidCastException(String^, Int32) | Initializes a new instance of the InvalidCastException class with a specified message and error code. |
Show:

