IPrivilegedAction.Run Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Android.Runtime.Register("run", "()Ljava/lang/Object;", "GetRunHandler:Java.Security.IPrivilegedActionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? Run();
[<Android.Runtime.Register("run", "()Ljava/lang/Object;", "GetRunHandler:Java.Security.IPrivilegedActionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Run : unit -> Java.Lang.Object
Returns
a class-dependent value that may represent the results of the computation. Each class that implements PrivilegedAction should document what (if anything) this value represents.
- Attributes
Remarks
Performs the computation. This method will be called by AccessController.doPrivileged after enabling privileges.
Java reference for java.security.PrivilegedAction.run.
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.