This documentation is archived and is not being maintained.
InvalidCastException Constructor
Visual Studio 2010
Initializes a new instance of the InvalidCastException class.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
InvalidCastException() | Initializes a new instance of the InvalidCastException class. |
|
InvalidCastException(String) | Initializes a new instance of the InvalidCastException class with a specified error message. |
|
InvalidCastException(SerializationInfo, StreamingContext) | Initializes a new instance of the InvalidCastException class with serialized data. |
|
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: