public class PolicyLevel extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Policy.PolicyLevel
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Security.Permissions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Permissions
|
static java.lang.String |
className
Qualified class name: System.Security.Policy.PolicyLevel
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PolicyLevel() |
PolicyLevel(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PolicyLevel()
throws java.lang.Throwable
java.lang.Throwablepublic PolicyLevel(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddFullTrustAssembly(StrongName sn) throws java.lang.Throwable
java.lang.Throwablepublic void AddFullTrustAssembly(StrongNameMembershipCondition snMC) throws java.lang.Throwable
java.lang.Throwablepublic void AddNamedPermissionSet(NamedPermissionSet permSet) throws java.lang.Throwable
java.lang.Throwablepublic static PolicyLevel cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PolicyLevel, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPolicyLevel instancejava.lang.Throwable - in case of error during cast operationpublic NamedPermissionSet ChangeNamedPermissionSet(java.lang.String name, PermissionSet pSet) throws java.lang.Throwable
java.lang.Throwablepublic static PolicyLevel CreateAppDomainLevel() throws java.lang.Throwable
java.lang.Throwablepublic void FromXml(SecurityElement e) throws java.lang.Throwable
java.lang.Throwablepublic IList getFullTrustAssemblies() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String getLabel()
throws java.lang.Throwable
java.lang.Throwablepublic NamedPermissionSet GetNamedPermissionSet(java.lang.String name) throws java.lang.Throwable
java.lang.Throwablepublic IList getNamedPermissionSets() throws java.lang.Throwable
java.lang.Throwablepublic CodeGroup getRootCodeGroup() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getStoreLocation()
throws java.lang.Throwable
java.lang.Throwablepublic PolicyLevelType getType() throws java.lang.Throwable
java.lang.Throwablepublic void Recover()
throws java.lang.Throwable
java.lang.Throwablepublic void RemoveFullTrustAssembly(StrongName sn) throws java.lang.Throwable
java.lang.Throwablepublic void RemoveFullTrustAssembly(StrongNameMembershipCondition snMC) throws java.lang.Throwable
java.lang.Throwablepublic NamedPermissionSet RemoveNamedPermissionSet(NamedPermissionSet permSet) throws java.lang.Throwable
java.lang.Throwablepublic NamedPermissionSet RemoveNamedPermissionSet(java.lang.String name) throws java.lang.Throwable
java.lang.Throwablepublic void Reset()
throws java.lang.Throwable
java.lang.Throwablepublic PolicyStatement Resolve(Evidence evidence) throws java.lang.Throwable
java.lang.Throwablepublic CodeGroup ResolveMatchingCodeGroups(Evidence evidence) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setRootCodeGroup(CodeGroup RootCodeGroup) throws java.lang.Throwable
java.lang.Throwablepublic SecurityElement ToXml() throws java.lang.Throwable
java.lang.Throwable