InvalidCastException Constructor

 

Initializes a new instance of the InvalidCastException class.

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

NameDescription
System_CAPS_pubmethodInvalidCastException()

Initializes a new instance of the InvalidCastException class.

System_CAPS_protmethodInvalidCastException(SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidCastException class with serialized data.

System_CAPS_pubmethodInvalidCastException(String)

Initializes a new instance of the InvalidCastException class with a specified error message.

System_CAPS_pubmethodInvalidCastException(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.

System_CAPS_pubmethodInvalidCastException(String, Int32)

Initializes a new instance of the InvalidCastException class with a specified message and error code.

Return to top
Show: