Thread.Priority Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns this thread's priority.
public int Priority { [Android.Runtime.Register("getPriority", "()I", "")] get; [Android.Runtime.Register("setPriority", "(I)V", "")] set; }
[<get: Android.Runtime.Register("getPriority", "()I", "")>]
[<set: Android.Runtime.Register("setPriority", "(I)V", "")>]
member this.Priority : int with get, set
Property Value
this thread's priority.
- Attributes
Exceptions
- if the new priority is greater than MaxPriority or less than MinPriority
Remarks
Returns this thread's priority.
Java documentation for java.lang.Thread.getPriority().
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.