Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets or sets a value indicating the scheduling priority of a thread.
Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Property Priority As ThreadPriority
public ThreadPriority Priority { get; set; }
public:
property ThreadPriority Priority {
ThreadPriority get ();
void set (ThreadPriority value);
}
member Priority : ThreadPriority with get, set
function get Priority () : ThreadPriority
function set Priority (value : ThreadPriority)
Property Value
Type: System.Threading. . :: . .ThreadPriority
One of the ThreadPriority values. The default value is Normal.
Remarks
A thread can be assigned any one of the following priority values:
Highest
AboveNormal
Normal
BelowNormal
Lowest
Operating systems are not required to honor the priority of a thread.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.