IJob interface

WinJS.Utilities.Scheduler.IJob interface

Applies to Windows and Windows Phone

Represents a work item that's executed by the Scheduler.

Members

The IJob interface has these types of members:

Methods

The IJob interface has these methods.

MethodDescription
cancel

Cancels the job.

pause

Pauses the job.

resume

Resumes the job.

 

Properties

The IJob interface has these properties.

PropertyAccess typeDescription

completed

Read-only

Gets a value that indicates whether the job has successfully completed.

id

Read-only

Gets the unique numeric identifier assigned to the job.

name

Read/write

Gets or sets the name of the job.

owner

Read/write

Gets or sets the owner of the job.

priority

Read/write

Gets or sets the priority of the job.

 

Requirements

Minimum WinJS version

WinJS 2.0

Namespace

WinJS.Utilities.Scheduler

 

 

Show:
© 2017 Microsoft