PriorityClass Property of Process class

Property | Member of  ScriptUtils.Process | Changes | Purchase | Download

Description

The priority class for the process.

Syntax

vPriorityClass = Process.PriorityClass
Process.PriorityClass = vPriorityClass

Returns

PriorityClasses - The processís priority class is one of the following values.

Returns

This value, together with the priority value of each thread of the process, determines each threadís base priority level.

The following table shows the base priority levels for combinations of priority class and priority value.

Process Priority Class

Thread Priority Level

1

IDLE_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS, or HIGH_PRIORITY_CLASS

THREAD_PRIORITY_IDLE

2

IDLE_PRIORITY_CLASS

THREAD_PRIORITY_LOWEST

3

IDLE_PRIORITY_CLASS

THREAD_PRIORITY_BELOW_NORMAL

4

IDLE_PRIORITY_CLASS

THREAD_PRIORITY_NORMAL

5

Background NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_LOWEST

IDLE_PRIORITY_CLASS

THREAD_PRIORITY_ABOVE_NORMAL

6

Background NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_BELOW_NORMAL

IDLE_PRIORITY_CLASS

THREAD_PRIORITY_HIGHEST

7

Foreground NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_LOWEST

Background NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_NORMAL

8

Foreground NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_BELOW_NORMAL

NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_ABOVE_NORMAL

9

Foreground NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_NORMAL

NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_HIGHEST

10

Foreground NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_ABOVE_NORMAL

11

HIGH_PRIORITY_CLASS

THREAD_PRIORITY_LOWEST

Foreground NORMAL_PRIORITY_CLASS

THREAD_PRIORITY_HIGHEST

12

HIGH_PRIORITY_CLASS

THREAD_PRIORITY_BELOW_NORMAL

13

HIGH_PRIORITY_CLASS

THREAD_PRIORITY_NORMAL

14

HIGH_PRIORITY_CLASS

THREAD_PRIORITY_ABOVE_NORMAL

15

IDLE_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS, or HIGH_PRIORITY_CLASS

THREAD_PRIORITY_TIME_CRITICAL

HIGH_PRIORITY_CLASS

THREAD_PRIORITY_HIGHEST

16

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_IDLE

22

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_LOWEST

23

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_BELOW_NORMAL

24

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_NORMAL

25

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_ABOVE_NORMAL

26

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_HIGHEST

31

REALTIME_PRIORITY_CLASS

THREAD_PRIORITY_TIME_CRITICAL

See also

Thread.Priority, Thread.PriorityBoost, Process.PriorityBoost

Other links for PriorityClass

Methods of Process class

Terminate

Properties of Process class

AffinityMask, CreationTime, ExitCode, ExitTime, Handle, ID, KernelTime, MaximumWorkingSetSize, MinimumWorkingSetSize, PrimaryThread, PriorityBoost, PriorityClass, UserTime

ScriptUtils.Process

Process object. Timing informations, priority settings and Ids.

ScriptUtils

Huge ASP upload is easy to use, hi-performance ASP file upload component with progress bar indicator. This component lets you upload multiple files with size up to 4GB to a disk or a database along with another form fields. Huge ASP file upload is a most featured upload component on a market with competitive price and a great performance . The software has also a free version of asp upload with progress, called Pure asp upload , written in plain VBS, without components (so you do not need to install anything on server). This installation package contains also ScriptUtilities library. Script Utilities lets you create hi-performance log files , works with binary data , you can download multiple files with zip/arj compression, work with INI files and much more with the ASP utility.

© 1996 - 2011 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz


Other Motobit links:   IISTracer, real-time IIS monitor   ASP file upload - upload files to ASP. 
ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object