Java.Lang.ThreadGroup.MaxPriority Property
Returns the maximum allowed priority for a Thread in this thread group.

Syntax

[get: Android.Runtime.Register("getMaxPriority", "()I", "GetGetMaxPriorityHandler")]
[set: Android.Runtime.Register("setMaxPriority", "(I)V", "GetSetMaxPriority_IHandler")]
public int MaxPriority { get; set; }

See Also

ThreadGroup.MaxPriority
ThreadGroup.MaxPriority

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the new priority is greater than Thread.MAX_PRIORITY or less than Thread.MIN_PRIORITY
Java.Lang.IllegalArgumentExceptionif the new priority is greater than Thread.MAX_PRIORITY or less than Thread.MIN_PRIORITY
Java.Lang.IllegalArgumentExceptionif the new priority is greater than Thread.MAX_PRIORITY or less than Thread.MIN_PRIORITY
Java.Lang.IllegalArgumentExceptionif the new priority is greater than Thread.MAX_PRIORITY or less than Thread.MIN_PRIORITY
Java.Lang.IllegalArgumentExceptionif the new priority is greater than Thread.MAX_PRIORITY or less than Thread.MIN_PRIORITY

Remarks

Get method documentation [Android Documentation]

Returns the maximum allowed priority for a Thread in this thread group.

Set method documentation [Android Documentation]

Configures the maximum allowed priority for a Thread in this group and recursively in all its subgroups. A caller can never increase the maximum priority of a thread group. Such an attempt will not result in an exception, it will simply leave the thread group with its current maximum priority.

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1