Partager via


AssessmentEndEventArgs structure

Represents information provided to a solution during the OnAssessmentEnd callback.

Syntax

struct AssessmentEndEventArgs {
  DWORD                    Size;
  INT                      AssessmentIndex;
  const Assessment         *Assessment;
  AssessmentExecutionError Error;
  const ErrorList          *ErrorList;
  INT                      ExitCode;
};

Members

Size

The number of bytes in the structure. Used to detect different versions of structure.

AssessmentIndex

The index of the assessment in the job s assessment list.

Assessment

A pointer to the assessment object.

Error

The error that caused the assessment to end.

If the assessment process started successfully and exited normally, this value will be S_OK.

If the assessment process started successfully and exited normally, but according to its manifest the exit code indicated the test failed, this value will be AXE_E_ASSESSEMENT_COMPLETED_WITH_ERROR.

ErrorList

The value of the last error that occurred in processing the assessment, i.e. the last error in the assessment error list.

ExitCode

The exit code returned by the assessment process.

Remarks

The error parameter reflects AXE s efforts to execute the assessment. The exitCode is simply a direct copy of the value returned by the assessment s root process. The values are not related.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeHosting.h