public class SecurityPermissionAttribute extends CodeAccessSecurityAttribute
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Permissions.SecurityPermissionAttribute
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.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Security.Permissions.SecurityPermissionAttribute
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SecurityPermissionAttribute() |
SecurityPermissionAttribute(java.lang.Object instance)
Internal constructor.
|
SecurityPermissionAttribute(SecurityAction action)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SecurityPermissionAttribute |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SecurityPermissionAttribute, a cast assert is made to check if types are compatible. |
IPermission |
CreatePermission()
Invokes the .NET member CreatePermission.
|
boolean |
getAssertion()
Gets the value of the .NET property Assertion.
|
boolean |
getBindingRedirects()
Gets the value of the .NET property BindingRedirects.
|
boolean |
getControlAppDomain()
Gets the value of the .NET property ControlAppDomain.
|
boolean |
getControlDomainPolicy()
Gets the value of the .NET property ControlDomainPolicy.
|
boolean |
getControlEvidence()
Gets the value of the .NET property ControlEvidence.
|
boolean |
getControlPolicy()
Gets the value of the .NET property ControlPolicy.
|
boolean |
getControlPrincipal()
Gets the value of the .NET property ControlPrincipal.
|
boolean |
getControlThread()
Gets the value of the .NET property ControlThread.
|
boolean |
getExecution()
Gets the value of the .NET property Execution.
|
SecurityPermissionFlag |
getFlags()
Gets the value of the .NET property Flags.
|
boolean |
getInfrastructure()
Gets the value of the .NET property Infrastructure.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
boolean |
getRemotingConfiguration()
Gets the value of the .NET property RemotingConfiguration.
|
boolean |
getSerializationFormatter()
Gets the value of the .NET property SerializationFormatter.
|
boolean |
getSkipVerification()
Gets the value of the .NET property SkipVerification.
|
boolean |
getUnmanagedCode()
Gets the value of the .NET property UnmanagedCode.
|
void |
setAssertion(boolean Assertion)
Sets the value of the .NET property Assertion.
|
void |
setBindingRedirects(boolean BindingRedirects)
Sets the value of the .NET property BindingRedirects.
|
void |
setControlAppDomain(boolean ControlAppDomain)
Sets the value of the .NET property ControlAppDomain.
|
void |
setControlDomainPolicy(boolean ControlDomainPolicy)
Sets the value of the .NET property ControlDomainPolicy.
|
void |
setControlEvidence(boolean ControlEvidence)
Sets the value of the .NET property ControlEvidence.
|
void |
setControlPolicy(boolean ControlPolicy)
Sets the value of the .NET property ControlPolicy.
|
void |
setControlPrincipal(boolean ControlPrincipal)
Sets the value of the .NET property ControlPrincipal.
|
void |
setControlThread(boolean ControlThread)
Sets the value of the .NET property ControlThread.
|
void |
setExecution(boolean Execution)
Sets the value of the .NET property Execution.
|
void |
setFlags(SecurityPermissionFlag Flags)
Sets the value of the .NET property Flags.
|
void |
setInfrastructure(boolean Infrastructure)
Sets the value of the .NET property Infrastructure.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setRemotingConfiguration(boolean RemotingConfiguration)
Sets the value of the .NET property RemotingConfiguration.
|
void |
setSerializationFormatter(boolean SerializationFormatter)
Sets the value of the .NET property SerializationFormatter.
|
void |
setSkipVerification(boolean SkipVerification)
Sets the value of the .NET property SkipVerification.
|
void |
setUnmanagedCode(boolean UnmanagedCode)
Sets the value of the .NET property UnmanagedCode.
|
getAction, getUnrestricted, setAction, setUnrestrictedGetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, getTypeId, IsDefaultAttribute, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, Matchpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SecurityPermissionAttribute()
throws java.lang.Throwable
java.lang.Throwablepublic SecurityPermissionAttribute(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic SecurityPermissionAttribute(SecurityAction action) throws java.lang.Throwable
action - the argument of type SecurityActionjava.lang.Throwable - if the .NET constructor failspublic static SecurityPermissionAttribute cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SecurityPermissionAttribute, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSecurityPermissionAttribute instancejava.lang.Throwable - in case of error during cast operationpublic IPermission CreatePermission() throws java.lang.Throwable
CreatePermission in class SecurityAttributejava.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getAssertion()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getBindingRedirects()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getControlAppDomain()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getControlDomainPolicy()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getControlEvidence()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getControlPolicy()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getControlPrincipal()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getControlThread()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getExecution()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic SecurityPermissionFlag getFlags() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getInfrastructure()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CodeAccessSecurityAttributepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CodeAccessSecurityAttributepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CodeAccessSecurityAttributenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CodeAccessSecurityAttributepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class CodeAccessSecurityAttributepublic boolean getRemotingConfiguration()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getSerializationFormatter()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getSkipVerification()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getUnmanagedCode()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setAssertion(boolean Assertion)
throws java.lang.Throwable
Assertion - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setBindingRedirects(boolean BindingRedirects)
throws java.lang.Throwable
BindingRedirects - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setControlAppDomain(boolean ControlAppDomain)
throws java.lang.Throwable
ControlAppDomain - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setControlDomainPolicy(boolean ControlDomainPolicy)
throws java.lang.Throwable
ControlDomainPolicy - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setControlEvidence(boolean ControlEvidence)
throws java.lang.Throwable
ControlEvidence - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setControlPolicy(boolean ControlPolicy)
throws java.lang.Throwable
ControlPolicy - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setControlPrincipal(boolean ControlPrincipal)
throws java.lang.Throwable
ControlPrincipal - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setControlThread(boolean ControlThread)
throws java.lang.Throwable
ControlThread - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setExecution(boolean Execution)
throws java.lang.Throwable
Execution - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setFlags(SecurityPermissionFlag Flags) throws java.lang.Throwable
Flags - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setInfrastructure(boolean Infrastructure)
throws java.lang.Throwable
Infrastructure - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class CodeAccessSecurityAttributeinstance - the new underlying objectpublic void setRemotingConfiguration(boolean RemotingConfiguration)
throws java.lang.Throwable
RemotingConfiguration - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSerializationFormatter(boolean SerializationFormatter)
throws java.lang.Throwable
SerializationFormatter - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setSkipVerification(boolean SkipVerification)
throws java.lang.Throwable
SkipVerification - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setUnmanagedCode(boolean UnmanagedCode)
throws java.lang.Throwable
UnmanagedCode - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR