Partager via


Thread.CheckAccess Method

Definition

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

[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.

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

Java documentation for java.lang.Thread.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