다음을 통해 공유


IGuard.CheckGuard(Object) Method

Definition

Determines whether or not to allow access to the guarded object object.

[Android.Runtime.Register("checkGuard", "(Ljava/lang/Object;)V", "GetCheckGuard_Ljava_lang_Object_Handler:Java.Security.IGuardInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void CheckGuard (Java.Lang.Object? object);
[<Android.Runtime.Register("checkGuard", "(Ljava/lang/Object;)V", "GetCheckGuard_Ljava_lang_Object_Handler:Java.Security.IGuardInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member CheckGuard : Java.Lang.Object -> unit

Parameters

object
Object

the object being protected by the guard.

Attributes

Exceptions

if access is not granted.

Remarks

Determines whether or not to allow access to the guarded object object. Returns silently if access is allowed. Otherwise, throws a SecurityException.

Java documentation for java.security.Guard.checkGuard(java.lang.Object).

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