ErrorList::GetError method
Retrieve a specific error from the error list.
Syntax
virtual HRESULT GetError(
[in] UINT errorIndex,
[out] const AxeErrorInfo **error
) const = 0;
Parameters
-
errorIndex [in]
-
The zero-based index of the error in the error list. If this value is ((unsigned int)-1), the most recent error is returned. If this value is less than zero, or specifies an index with no error, the return is AXE_E_INVALID_INDEX.
-
error [out]
-
A reference to an AxeErrorInfo structure to be populated with the requested error information.
Return value
If the method is successful, the return value is S_OK.
If the errorIndex specifies an invalid index, the return value is AXE_E_INVALID_INDEX.
Remarks
When the solution is finished with the AxeErrorInfo structure the solution is responsible for calling Release.
Managed code uses the AxeException object.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|