title Platform::NullReferenceException Class | Microsoft Docs ms.custom ms.date 12/30/2016 ms.technology cpp-windows ms.reviewer ms.suite ms.tgt_pltfrm ms.topic language-reference f1_keywords VCCORLIB/Platform::NullReferenceException VCCORLIB/Platform::NullReferenceException::NullReferenceException dev_langs C++ helpviewer_keywords Platform::NullReferenceException ms.assetid be202577-d898-4716-83cd-e3556fe8a241 caps.latest.revision 3 author ghogen ms.author ghogen manager ghogen Platform::NullReferenceException Class Thrown when there is an attempt to dereference a null object reference. Syntax public ref class NullReferenceException : 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