Namespace: System
InvalidCastException
The exception that is thrown for invalid casting or explicit conversion.
Methods (1)
InvalidCastException(String)Constructor
Initializes a new instance of the InvalidCastException class with a specified error message.
| Parameter | Description |
|---|---|
| message | The message that describes the error. |