Share via


Engine object

Controls the execution, progress reporting and results generation for a job. A solution uses this object to access AXE functionality.

When to implement

Never. This object is implemented and exposed by Axe.

Members

The Engine object has these types of members:

  • Events
  • Methods

Events

The Engine object has these events.

Event Description
AssessmentBegin

The managed event to raise when an AssessmentBegin event occurs.

AssessmentEnd

The managed event to raise when an AssessmentEnd event occurs.

JobBegin

The managed event to raise when a JobBegin event occurs.

JobEnd

The managed event to raise when a JobEnd event occurs.

JobPending

The managed event to raise when a JobPending event occurs.

ProgressUpdate

The managed event to raise when a ProgressUpdate event occurs.

 

Methods

The Engine object has these methods.

Method Description
CancelAssessment

Asynchronously requests that the specified assessment abort its execution.

CancelJob

Asynchronously requests that the current assessment abort its execution and the job ends without running any more assessments.

Dispose

Releases all resources used by the object.

Dispose(Boolean)

Releases the unmanaged resources used by the object and optionally releases the managed resources.

ExecuteJob

Synchronously executes a loaded job.

RemovePendingRebootJob

Removes an abandoned task that restarts job execution upon a system reboot so that other jobs can be executed.

TerminateJob

This method ends an entire job without waiting for any assessment to exit.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

DLL

Microsoft.Assessments.Core.dll ; AxeCore.dll

 

 

Send comments about this topic to Microsoft

Build date: 10/2/2013