Exportar (0) Imprimir
Expandir todo
EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

ThreadPriorityLevel Enumeration

Specifies the priority level of a thread.

Namespace: System.Diagnostics
Assembly: System (in system.dll)

public enum ThreadPriorityLevel
public enum ThreadPriorityLevel
public enum ThreadPriorityLevel

 Member nameDescription
AboveNormalSpecifies one step above the normal priority for the associated ProcessPriorityClass
BelowNormalSpecifies one step below the normal priority for the associated ProcessPriorityClass
HighestSpecifies highest priority. This is two steps above the normal priority for the associated ProcessPriorityClass
IdleSpecifies idle priority. This is the lowest possible priority value of all threads, independent of the value of the associated ProcessPriorityClass
LowestSpecifies lowest priority. This is two steps below the normal priority for the associated ProcessPriorityClass
NormalSpecifies normal priority for the associated ProcessPriorityClass
TimeCriticalSpecifies time-critical priority. This is the highest priority of all threads, independent of the value of the associated ProcessPriorityClass

Every thread has a base-priority level determined by the thread's priority value and the priority class of its process. The operating system uses the base-priority level of all executable threads to determine which thread gets the next slice of processor time.

The priority level is not an absolute value, but instead is a range of priority values. The operating system computes the priority by using the process priority class to determine where, in the range specified by the PriorityLevel property, to set the thread's priority.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft