Share via


Logging.LogErrorCode Method (Int32)

Applies To: Windows 8.1

Logs an error code to AXE’s pre-configured ETW session.

Namespace: Microsoft.Assessments
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As Logging
Dim errorCode As Integer

instance.LogErrorCode(errorCode)

Syntax

'Declaration
Public Sub LogErrorCode ( _
    errorCode As Integer _
)
public void LogErrorCode (
    int errorCode
)
public:
void LogErrorCode (
    int errorCode
)
public void LogErrorCode (
    int errorCode
)
public function LogErrorCode (
    errorCode : int
)

Parameters

  • errorCode
    The HRESULT error code to log.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

Logging Class
Logging Members
Microsoft.Assessments Namespace