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.

Platform::InvalidCastException Class


Thrown when a cast or explicit conversion is invalid.

public ref class InvalidCastException : COMException,    IException,    IPrintable,    IEquatable

For more information, see the COMException class.


Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: platform.winmd