Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Process.GetQOSClass

Queries the Quality Of Service class for the current thread.

Component Version macOS Windows Linux Server iOS SDK
Process 16.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Process.GetQOSClass" )

Parameters

none

Result

Returns number or error.

Description

Queries the Quality Of Service class for the current thread.

NameValueDescription
QOS_CLASS_USER_INTERACTIVE5The thread handles user input.
QOS_CLASS_USER_INITIATED4The user requested this action.
QOS_CLASS_DEFAULT3Default
QOS_CLASS_UTILITY2Utility thread running with reduced priority, e.g. menubar utility app.
QOS_CLASS_BACKGROUND1Background thread with reduced priority, e.g. backup.
QOS_CLASS_UNSPECIFIED0Unknown level.

See also

Blog Entries

This function is free to use.

Created 8th March 2026, last changed 8th March 2026


Process.GetDllDirectory - Process.IsFrontMost