description Learn more about: Platform::InvalidCastException Class title Platform::InvalidCastException Class ms.date 12/30/2016 ms.topic reference f1_keywords VCCORLIB/Platform::InvalidCastException::InvalidCastException VCCORLIB/Platform::InvalidCastException helpviewer_keywords Platform::InvalidCastException ms.assetid 0215131d-1251-4913-9561-824410e045b6 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