Partager via


JobExecutionInfo Members

Applies To: Windows 8.1

Defines configuration information for how a job is run and returns information about how the job ran.

The following tables list the members exposed by the JobExecutionInfo type.

Public Constructors

  Name Description
  JobExecutionInfo Creates a JobExecutionInfo object.

Top

Public Properties

  Name Description
public property Error Contains the value of the last error that occurred in processing the job.
public property Flags Specifies flags that control how the job will be executed.
public property Job The job to run.
public property RestartCommand The command string to run in the RestartDirectory in order to run the solution if the job causes the system to reboot.
public property RestartDirectory The directory where the solution application exists. If an assessment in the job causes the system to reboot, the solution will be relaunched from this directory.
public property Restarting A Boolean value that indicates whether the job has not completed yet because an assessment or workload is rebooting the system.
public property RestartMinimumCommand The command string to execute to restart the job in console mode.
public property Timeout The amount of time the engine will wait for a job that is running within another engine to finish.
public property WorkloadAssessmentIndex The position in the job manifest of the <AssessmentRun> entry for the assessment that will be running as a solution assessment that executes workloads. This index is used to locate the nested <AssessmentRuns> collection that describes the workloads to run.
public property WorkloadTempDirectory The path that workloads should use to store both the temporary and results files. Workloads should not produce any files because workloads are used to exercise the system under test while another assessment measures the system. All of the files written out by workloads are deleted when the workload finishes.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method ToString  (Inherited from Object)

Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

Top

See Also

Reference

JobExecutionInfo Class
Microsoft.Assessments.Hosting Namespace