public class Evidence extends NetObjectEnumerable
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Policy.Evidence
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.Evidence
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
Evidence()
Initializes a new instance by invoking the .NET constructor.
|
Evidence(Evidence evidence)
Initializes a new instance by invoking the .NET constructor.
|
Evidence(EvidenceBase[] hostEvidence,
EvidenceBase[] assemblyEvidence)
Initializes a new instance by invoking the .NET constructor.
|
Evidence(NetObject[] hostEvidence,
NetObject[] assemblyEvidence)
Initializes a new instance by invoking the .NET constructor.
|
Evidence(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AddAssembly(NetObject id)
Invokes the .NET member AddAssembly.
|
<T extends IJCOBridgeReflected> |
AddAssemblyEvidence(T evidence)
Invokes the .NET member AddAssemblyEvidence.
|
void |
AddHost(NetObject id)
Invokes the .NET member AddHost.
|
<T extends IJCOBridgeReflected> |
AddHostEvidence(T evidence)
Invokes the .NET member AddHostEvidence.
|
static Evidence |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Evidence, a cast assert is made to check if types are compatible. |
void |
Clear()
Invokes the .NET member Clear.
|
Evidence |
Clone()
Invokes the .NET member Clone.
|
void |
CopyTo(Array array,
int index)
Invokes the .NET member CopyTo.
|
IEnumerator |
GetAssemblyEnumerator()
Invokes the .NET member GetAssemblyEnumerator.
|
int |
getCount()
Gets the value of the .NET property Count.
|
IEnumerator |
GetHostEnumerator()
Invokes the .NET member GetHostEnumerator.
|
boolean |
getIsReadOnly()
Gets the value of the .NET property IsReadOnly.
|
boolean |
getIsSynchronized()
Gets the value of the .NET property IsSynchronized.
|
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 |
getLocked()
Gets the value of the .NET property Locked.
|
NetObject |
getSyncRoot()
Gets the value of the .NET property SyncRoot.
|
void |
Merge(Evidence evidence)
Invokes the .NET member Merge.
|
void |
RemoveType(NetType t)
Invokes the .NET member RemoveType.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setLocked(boolean Locked)
Sets the value of the .NET property Locked.
|
GetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Evidence()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException
java.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itpublic Evidence(Evidence evidence) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, NotSupportedException, SerializationException, NullReferenceException, InvalidOperationException
evidence - the argument of type Evidencejava.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itNotSupportedException - if the .NET member raises itSerializationException - if the .NET member raises itNullReferenceException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic Evidence(EvidenceBase[] hostEvidence, EvidenceBase[] assemblyEvidence) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, FormatException, InvalidOperationException, NotSupportedException
hostEvidence - the argument of type EvidenceBase[]assemblyEvidence - the argument of type EvidenceBase[]java.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic Evidence(NetObject[] hostEvidence, NetObject[] assemblyEvidence) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, InvalidOperationException, NotSupportedException, FormatException
hostEvidence - the argument of type NetObject[]assemblyEvidence - the argument of type NetObject[]java.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itpublic Evidence(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 void AddAssembly(NetObject id) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, FormatException
id - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic <T extends IJCOBridgeReflected> void AddAssemblyEvidence(T evidence) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, NotSupportedException
T - the type of the generic argument Tevidence - the argument of type Tjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic void AddHost(NetObject id) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, NotSupportedException, ArgumentException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException
id - the argument of type NetObjectjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic <T extends IJCOBridgeReflected> void AddHostEvidence(T evidence) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, NotSupportedException
T - the type of the generic argument Tevidence - the argument of type Tjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic static Evidence cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Evidence, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedEvidence instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic Evidence Clone() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, SerializationException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itSerializationException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void CopyTo(Array array, int index) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentException
array - the argument of type Arrayindex - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itpublic IEnumerator GetAssemblyEnumerator() throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, InvalidOperationException, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic int getCount()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic IEnumerator GetHostEnumerator() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic boolean getIsReadOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsSynchronized()
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 NetObjectEnumerablepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectEnumerablepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectEnumerablenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectEnumerablepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectEnumerablepublic boolean getLocked()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetObject getSyncRoot() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Merge(Evidence evidence) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ArgumentException, NotSupportedException, SerializationException, NotImplementedException, SecurityException, NullReferenceException, IndexOutOfRangeException
evidence - the argument of type Evidencejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itSerializationException - if the .NET member raises itNotImplementedException - if the .NET member raises itSecurityException - if the .NET member raises itNullReferenceException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void RemoveType(NetType t) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
t - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectEnumerableinstance - the new underlying objectpublic void setLocked(boolean Locked)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException
Locked - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises it