Creates a new CustomException with its message string set to message, its HRESULT set to COR_E_APPLICATION, and its ExceptionInfo reference set to null.
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows