Platform::InvalidCastException Class

Thrown when a cast or explicit conversion is invalid.

Syntax

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

Remarks

For more information, see the COMException class.

Requirements

Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: platform.winmd

See also

Platform::COMException Class