Logging::LogErrorCode method
This method logs an error code and custom message to AXE s pre-configured ETW session.
Syntax
virtual HRESULT LogErrorCode(
[in] HRESULT errorCode
) = 0;
Parameters
-
errorCode [in]
-
The HRESULT error code to log.
Return value
If the function succeeds, it returns S_OK. If it fails, it returns an error value.
Remarks
Managed code uses the Logging.LogErrorCode(Int32) method.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|