Share via


Executors.PrivilegedThreadFactory Method

Definition

Legacy security code; do not use.

[Android.Runtime.Register("privilegedThreadFactory", "()Ljava/util/concurrent/ThreadFactory;", "")]
public static Java.Util.Concurrent.IThreadFactory? PrivilegedThreadFactory ();
[<Android.Runtime.Register("privilegedThreadFactory", "()Ljava/util/concurrent/ThreadFactory;", "")>]
static member PrivilegedThreadFactory : unit -> Java.Util.Concurrent.IThreadFactory

Returns

Attributes

Remarks

Legacy security code; do not use.

This member is deprecated. This method is only useful in conjunction with SecurityManager the Security Manager, which is deprecated and subject to removal in a future release. Consequently, this method is also deprecated and subject to removal. There is no replacement for the Security Manager or this method.

Java documentation for java.util.concurrent.Executors.privilegedThreadFactory().

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