|
ManagedThreadPriority Property
|
Gets or sets a value indicating the scheduling priority of a thread.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntaxpublic ThreadPriority Priority { get; set; }Public Property Priority As ThreadPriority
Get
Set
public:
property ThreadPriority Priority {
ThreadPriority get ();
void set (ThreadPriority value);
}member Priority : ThreadPriority with get, set
function get_Priority();
function set_Priority(value);
View SourceReturn Value
ThreadPriorityOne of the ThreadPriority values. The default value is Normal.
Remarks
Changing of this value is only available to standard threads - you can't change the priorty of queued threads since they are already
allocated and owned by the .NET thread pool.
See Also