Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

InvalidCastException Constructor

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
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 InvalidCastException() Initializes a new instance of the InvalidCastException class.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 InvalidCastException(String) Initializes a new instance of the InvalidCastException class with a specified error message.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 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.
Top

Community Additions

Show:
© 2014 Microsoft