public class NetCodeGroup extends CodeGroup
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.Policy.NetCodeGroup
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.NetCodeGroup
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
NetCodeGroup() |
NetCodeGroup(IMembershipCondition membershipCondition) |
NetCodeGroup(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddConnectAccess(java.lang.String originScheme,
CodeConnectAccess connectAccess) |
static NetCodeGroup |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into NetCodeGroup, a cast assert is made to check if types are compatible. |
CodeGroup |
Copy() |
DictionaryEntry[] |
GetConnectAccessRules() |
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
|
void |
ResetConnectAccess() |
PolicyStatement |
Resolve(Evidence evidence) |
CodeGroup |
ResolveMatchingCodeGroups(Evidence evidence) |
void |
setJCOInstance(JCObject instance) |
AddChild, Equals, FromXml, FromXml, getAttributeString, getChildren, getDescription, getMembershipCondition, getMergeLogic, getName, getPermissionSetName, getPolicyStatement, RemoveChild, setChildren, setDescription, setMembershipCondition, setName, setPolicyStatement, ToXml, ToXmlpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public NetCodeGroup()
throws java.lang.Throwable
java.lang.Throwablepublic NetCodeGroup(IMembershipCondition membershipCondition) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, IndexOutOfRangeException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionIndexOutOfRangeExceptionpublic NetCodeGroup(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void AddConnectAccess(java.lang.String originScheme,
CodeConnectAccess connectAccess)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
CultureNotFoundException,
NotSupportedException,
IndexOutOfRangeException
public static NetCodeGroup cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into NetCodeGroup, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedNetCodeGroup instancejava.lang.Throwable - in case of error during cast operationpublic CodeGroup Copy() throws java.lang.Throwable, ArgumentException, ArgumentNullException, NullReferenceException, ArgumentOutOfRangeException, FormatException, SecurityException, InvalidOperationException
Copy in class CodeGroupjava.lang.ThrowableArgumentExceptionArgumentNullExceptionNullReferenceExceptionArgumentOutOfRangeExceptionFormatExceptionSecurityExceptionInvalidOperationExceptionpublic DictionaryEntry[] GetConnectAccessRules() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, NotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionNotSupportedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CodeGroupString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CodeGroupString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CodeGroupObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CodeGroupString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class CodeGroupJCType representing the CLR Type of the instantiated Classpublic void ResetConnectAccess()
throws java.lang.Throwable
java.lang.Throwablepublic PolicyStatement Resolve(Evidence evidence) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NullReferenceException, ArgumentOutOfRangeException, FormatException, SecurityException, InvalidOperationException, NotSupportedException, IndexOutOfRangeException, PathTooLongException, OverflowException, RankException, InvalidCastException, PolicyException
Resolve in class CodeGroupjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNullReferenceExceptionArgumentOutOfRangeExceptionFormatExceptionSecurityExceptionInvalidOperationExceptionNotSupportedExceptionIndexOutOfRangeExceptionPathTooLongExceptionOverflowExceptionRankExceptionInvalidCastExceptionPolicyExceptionpublic CodeGroup ResolveMatchingCodeGroups(Evidence evidence) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NullReferenceException, ArgumentOutOfRangeException, FormatException, SecurityException, InvalidOperationException
ResolveMatchingCodeGroups in class CodeGroupjava.lang.ThrowableArgumentNullExceptionArgumentExceptionNullReferenceExceptionArgumentOutOfRangeExceptionFormatExceptionSecurityExceptionInvalidOperationExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class CodeGroup