Java.Lang.ThreadGroup.Destroy Method
Destroys this thread group and recursively all its subgroups.

Syntax

[Android.Runtime.Register("destroy", "()V", "")]
public void Destroy ()

Exceptions

TypeReason
Java.Lang.IllegalThreadStateExceptionif this thread group or any of its subgroups has been destroyed already or if it still contains threads.

Remarks

Destroys this thread group and recursively all its subgroups. It is only legal to destroy a ThreadGroup that has no threads in it. Any daemon ThreadGroup is destroyed automatically when it becomes empty (no threads or thread groups in it).

[Android Documentation]

Requirements

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