Share via


JobExecutionInfo.Error Property

Applies To: Windows 8.1

Contains the value of the last error that occurred in processing the job.

Namespace: Microsoft.Assessments.Hosting
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As JobExecutionInfo
Dim value As JobExecutionError

value = instance.Error

instance.Error = value

Syntax

'Declaration
Public Property Error As JobExecutionError
public JobExecutionError Error { get; set; }
public:
property JobExecutionError Error {
    JobExecutionError get ();
    void set (JobExecutionError __set_formal);
}
/** @property */
public JobExecutionError get_Error ()

/** @property */
public void set_Error (JobExecutionError __set_formal)
public function get Error () : JobExecutionError

public function set Error (__set_formal : JobExecutionError)

Property Value

Returns JobExecutionError.

Remarks

The last error in the job error list, if the job was executed synchronously. If the job was executed asynchronously, this value will be JobExecutionError.None.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

JobExecutionInfo Class
JobExecutionInfo Members
Microsoft.Assessments.Hosting Namespace