SPException.NativeErrorMessage property
SharePoint 2013
Gets the native code error message that is associated with this SPException object.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Gets the native code error message that is associated with this SPException object.