Udostępnij za pośrednictwem


ThreadGroup.CheckAccess Method

Definition

Determines if the currently running thread has permission to modify this thread group.

[Android.Runtime.Register("checkAccess", "()V", "")]
public void CheckAccess ();
[<Android.Runtime.Register("checkAccess", "()V", "")>]
member this.CheckAccess : unit -> unit
Attributes

Remarks

Determines if the currently running thread has permission to modify this thread group.

If there is a security manager, its checkAccess method is called with this thread group as its argument. This may result in throwing a SecurityException.

Added in 1.0.

Java documentation for java.lang.ThreadGroup.checkAccess().

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.

Applies to