Språk

IPrivilegedExceptionAction.Run Method

Definition

[Android.Runtime.Register("run", "()Ljava/lang/Object;", "GetRunHandler:Java.Security.IPrivilegedExceptionActionInvoker, 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.IPrivilegedExceptionActionInvoker, 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 PrivilegedExceptionAction should document what (if anything) this value represents.

Attributes

Exceptions

Remarks

Performs the computation. This method will be called by AccessController.doPrivileged after enabling privileges.

Java reference for java.security.PrivilegedExceptionAction.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.

Applies to