public class DataProtectionPermissionAttribute extends CodeAccessSecurityAttribute
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Permissions.DataProtectionPermissionAttribute
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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security
|
static java.lang.String |
className
Qualified class name: System.Security.Permissions.DataProtectionPermissionAttribute
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataProtectionPermissionAttribute() |
DataProtectionPermissionAttribute(java.lang.Object instance)
Internal constructor.
|
DataProtectionPermissionAttribute(SecurityAction action) |
| Modifier and Type | Method and Description |
|---|---|
static DataProtectionPermissionAttribute |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DataProtectionPermissionAttribute, a cast assert is made to check if types are compatible. |
IPermission |
CreatePermission() |
DataProtectionPermissionFlags |
getFlags() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
getProtectData() |
boolean |
getProtectMemory() |
boolean |
getUnprotectData() |
boolean |
getUnprotectMemory() |
void |
setFlags(DataProtectionPermissionFlags Flags) |
void |
setJCOInstance(JCObject instance) |
void |
setProtectData(boolean ProtectData) |
void |
setProtectMemory(boolean ProtectMemory) |
void |
setUnprotectData(boolean UnprotectData) |
void |
setUnprotectMemory(boolean UnprotectMemory) |
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 DataProtectionPermissionAttribute()
throws java.lang.Throwable
java.lang.Throwablepublic DataProtectionPermissionAttribute(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic DataProtectionPermissionAttribute(SecurityAction action) throws java.lang.Throwable
java.lang.Throwablepublic static DataProtectionPermissionAttribute cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataProtectionPermissionAttribute, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataProtectionPermissionAttribute instancejava.lang.Throwable - in case of error during cast operationpublic IPermission CreatePermission() throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, NotImplementedException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, FormatException
CreatePermission in class SecurityAttributejava.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionNotImplementedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic DataProtectionPermissionFlags getFlags() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CodeAccessSecurityAttributeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CodeAccessSecurityAttributeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CodeAccessSecurityAttributeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CodeAccessSecurityAttributeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class CodeAccessSecurityAttributeJCType representing the CLR Type of the instantiated Classpublic boolean getProtectData()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getProtectMemory()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getUnprotectData()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getUnprotectMemory()
throws java.lang.Throwable
java.lang.Throwablepublic void setFlags(DataProtectionPermissionFlags Flags) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, FormatException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class CodeAccessSecurityAttributepublic void setProtectData(boolean ProtectData)
throws java.lang.Throwable
java.lang.Throwablepublic void setProtectMemory(boolean ProtectMemory)
throws java.lang.Throwable
java.lang.Throwablepublic void setUnprotectData(boolean UnprotectData)
throws java.lang.Throwable
java.lang.Throwablepublic void setUnprotectMemory(boolean UnprotectMemory)
throws java.lang.Throwable
java.lang.Throwable