Microsoft SDK for Java

checkClassForAllPermissions

This method of the PolicyEngine Class performs a security check directly against a class object. If the class is not fully trusted, the security check fails.

Syntax

public static void checkClassForAllPermissions(Class cls);

Parameters

cls The class to check against.

Exceptions

SecurityException if the security check fails.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.