Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

MSApp Constants

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Allowed priority values associated with execAsyncAtPriority, execAtPriority, getCurrentPriority, and isTaskScheduldAtPriorityOrHigher.

CURRENT
"current"

DOMString

When CURRENT is used with the appropriate method (See also section), the method will use the current contextual priority when executing the requested operation.

HIGH
"high"

DOMString

When HIGH is used with the appropriate method (See also section), the method will use higher than normal priority when executing the requested operation and will be dispatch the operation before any existing normal priority work.

IDLE
"idle"

DOMString

When IDLE is used with the appropriate method (See also section), the method will use lower than normal priority when executing the requested operation and will be dispatch the operation after any existing normal priority work.

NORMAL
"normal"

DOMString

When NORMAL is used with the appropriate method (See also section), the method will use the normal existing priority when executing the requested operation.

Examples


if (window.MSApp.CURRENT) {
  document.getElementById('outputMessageDiv').textContent = 'The value of window.MSApp.CURRENT is "current".';
}

Requirements

IDL

Mshtml.idl

See also

execAsyncAtPriority
execAtPriority
getCurrentPriority
isTaskScheduldAtPriorityOrHigher

 

 

Show: