Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the native interface for the Engine to invoke to notify the solution of an assessment begin event.
Syntax
virtual HRESULT SetAssessmentBegin(
[in, optional] IAssessmentBeginEventHandler *assessmentBegin
) = 0;
Parameters
-
assessmentBegin [in, optional]
-
The native interface invoked by Engine when an assessment begin event occurs. This parameter can be NULL to remove an existing handler.
Return value
If successful, the method returns S_OK.
If a job is running, the method returns AXE_E_JOB_RUNNING. Event handlers cannot be changed while a job is running.
If a there are events already queued with the Asynchronous Procedure Call mechanism in the operating system, the method returns AXE_E_QUEUED_APC_EVENTS. The threading model cannot be changed until these queued events are processed.
Remarks
Managed code uses the Engine.AssessmentBegin | assessmentbegin event to notify solutions.
Requirements
Minimum supported client |
Windows 7 [desktop apps only] |
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
Header |
|
DLL |
|