public class PolicyStatement extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Policy.PolicyStatement
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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
static java.lang.String |
className
Qualified class name: System.Security.Policy.PolicyStatement
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
PolicyStatement() |
PolicyStatement(java.lang.Object instance)
Internal constructor.
|
PolicyStatement(PermissionSet permSet) |
PolicyStatement(PermissionSet permSet,
PolicyStatementAttribute attributes) |
| Modifier and Type | Method and Description |
|---|---|
static PolicyStatement |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into PolicyStatement, a cast assert is made to check if types are compatible. |
PolicyStatement |
Copy() |
void |
FromXml(SecurityElement et) |
void |
FromXml(SecurityElement et,
PolicyLevel level) |
PolicyStatementAttribute |
getAttributes() |
java.lang.String |
getAttributeString() |
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
|
PermissionSet |
getPermissionSet() |
void |
setAttributes(PolicyStatementAttribute Attributes) |
void |
setJCOInstance(JCObject instance) |
void |
setPermissionSet(PermissionSet PermissionSet) |
SecurityElement |
ToXml() |
SecurityElement |
ToXml(PolicyLevel level) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public PolicyStatement()
throws java.lang.Throwable
java.lang.Throwablepublic PolicyStatement(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic PolicyStatement(PermissionSet permSet) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic PolicyStatement(PermissionSet permSet, PolicyStatementAttribute attributes) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic static PolicyStatement cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into PolicyStatement, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedPolicyStatement instancejava.lang.Throwable - in case of error during cast operationpublic PolicyStatement Copy() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionpublic void FromXml(SecurityElement et) throws java.lang.Throwable, ArgumentNullException, NullReferenceException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, InvalidCastException, NotSupportedException, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, XmlSyntaxException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionNullReferenceExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionInvalidCastExceptionNotSupportedExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionXmlSyntaxExceptionIndexOutOfRangeExceptionpublic void FromXml(SecurityElement et, PolicyLevel level) throws java.lang.Throwable, ArgumentNullException, NullReferenceException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, InvalidCastException, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, XmlSyntaxException, RankException
java.lang.ThrowableArgumentNullExceptionNullReferenceExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionInvalidCastExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionXmlSyntaxExceptionRankExceptionpublic PolicyStatementAttribute getAttributes() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getAttributeString()
throws java.lang.Throwable,
ArgumentNullException,
FormatException,
ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionpublic 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 PermissionSet getPermissionSet() throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic void setAttributes(PolicyStatementAttribute Attributes) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setPermissionSet(PermissionSet PermissionSet) throws java.lang.Throwable, ArgumentException
java.lang.ThrowableArgumentExceptionpublic SecurityElement ToXml() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, NotSupportedException, SecurityException, NullReferenceException
public SecurityElement ToXml(PolicyLevel level) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException, NotSupportedException, SecurityException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, XmlSyntaxException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionNotSupportedExceptionSecurityExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionXmlSyntaxExceptionIndexOutOfRangeException