Partager via


AssessmentBeginEventArgs structure

Represents information provided to a solution during the OnAssessmentBegin callback.

Syntax

struct AssessmentBeginEventArgs {
  DWORD            Size;
  INT              AssessmentIndex;
  const Assessment *Assessment;
};

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.

Remarks

The AssessmentIndex parameter can be used in a call to CancelAssessment to identify the correct assessment. This parameter is used to avoid a race condition where one assessment ends before the CancelAssessment method is received by the engine.

Requirements

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