Compartir a través de


JobExecutionError enumeration

Provides an enumeration of AXE errors that are relevant to the execution of a job.

Syntax

enum JobExecutionError {
  JobExecutionErrorNone                   = 0, 
  JobExecutionErrorCanceled               = AXE_E_JOB_CANCELED, 
  JobExecutionErrorAssessmentsFailed      = AXE_E_JOB_ASSESSMENTS_FAILED, 
  JobExecutionErrorAnotherRebootPending   = AXE_E_JOB_ANOTHER_REBOOT_PENDING, 
  JobExecutionErrorNoRebootPending        = AXE_E_JOB_NO_REBOOT_PENDING, 
  JobExecutionErrorPreparation            = AXE_E_JOB_PREPARATION, 
  JobExecutionErrorResultsFailed          = AXE_E_JOB_RESULTS_FAILED, 
  JobExecutionErrorAssessmentPreparation  = AXE_E_JOB_ASSESSMENT_PREPARATION, 
  JobExecutionErrorPostExecution          = AXE_E_JOB_POSTEXECUTION, 
  JobExecutionErrorWaitTimeout            = AXE_E_JOB_WAIT_TIMEOUT, 
  JobExecutionErrorChanged                = AXE_E_JOB_CHANGED, 
  JobExecutionErrorRestartFailed          = AXE_E_JOB_RESTART_FAILED, 
  JobExecutionErrorRestartBadData         = AXE_E_JOB_RESTART_BADDATA, 
  JobExecutionErrorRestart                = AXE_E_JOB_RESTART 

};

Constants

JobExecutionErrorNone

0

The job ran successfully.

JobExecutionErrorCanceled

0x80041013

The job was canceled or terminated.

JobExecutionErrorAssessmentsFailed

0x80041014

The job ended with one or more failed assessments.

JobExecutionErrorAnotherRebootPending

0x80041015

The job could not start because another job is restarting.

JobExecutionErrorNoRebootPending

0x80041016

There is no job currently pending a reboot.

JobExecutionErrorPreparation

0x80041017

The job could not be executed because some preparation step failed. Check the logs for more details.

JobExecutionErrorResultsFailed

0x80041018

There was an error generating or finalizing the results file.

JobExecutionErrorAssessmentPreparation

0x80041019

There was an error preparing to execute an assessment.

JobExecutionErrorPostExecution

0x8004101A

There was an error performing the job PostExecutionAction.

JobExecutionErrorWaitTimeout

0x8004101B

The job could not be executed because the timeout elapsed before the current running job finished.

JobExecutionErrorChanged

0x80041021

The job automatically executed by the solution after a reboot was modified or not the same.

JobExecutionErrorRestartFailed

0x80041022

The job restart state data was corrupt upon restart.

JobExecutionErrorRestartBadData

0x80041023

The job restart state data could not be saved while running.

JobExecutionErrorRestart

0x80041025

There was an error while trying to change solutions.

Remarks

Managed code uses the JobExecutionError enum.

Requirements

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