Compartir a través de


WinJS.Utilities.Scheduler.IJob interface

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

Members

The IJob interface has these types of members:

  • Methods
  • Properties

Methods

The IJob interface has these methods.

Method Description
cancel

Cancels the job.

pause

Pauses the job.

resume

Resumes the job.

 

Properties

The IJob interface has these properties.

Property Access type Description

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