Share via


Support.GetErrorText Method

Applies To: Windows 8.1

Retrieves an Axe error message based on the Axe error code string that is passed by the method. This method allows an assessment to get a human-readable string explaining what an error code means.

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

Usage

'Usage
Dim instance As Support
Dim axeError As Integer
Dim returnValue As String

returnValue = instance.GetErrorText(axeError)

Syntax

'Declaration
Public Function GetErrorText ( _
    axeError As Integer _
) As String
public string GetErrorText (
    int axeError
)
public:
String^ GetErrorText (
    int axeError
)
public String GetErrorText (
    int axeError
)
public function GetErrorText (
    axeError : int
) : String

Parameters

  • axeError
    The HRESULT representing an Axe error code.

Return Value

Returns String.

Remarks

This method enables an assessment to get a human-readable string explaining the meaning of an error code.

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

Support Class
Support Members
Microsoft.Assessments.Runtime Namespace