PermissionRequestEvidence Class
Defines evidence that represents permission requests. This class cannot be inherited.
Assembly: mscorlib (in mscorlib.dll)
System.Security.Policy::EvidenceBase
System.Security.Policy::PermissionRequestEvidence
[SerializableAttribute] [ComVisibleAttribute(true)] [ObsoleteAttribute("Assembly level declarative security is obsolete and is no longer enforced by the CLR by default. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")] public ref class PermissionRequestEvidence sealed : EvidenceBase
| Name | Description | |
|---|---|---|
![]() | PermissionRequestEvidence(PermissionSet^, PermissionSet^, PermissionSet^) | Initializes a new instance of the PermissionRequestEvidence class with the permission request of a code assembly. |
| Name | Description | |
|---|---|---|
![]() | DeniedPermissions | Gets the permissions the code explicitly asks not to be granted. |
![]() | OptionalPermissions | Gets the permissions the code can use if they are granted, but are not required. |
![]() | RequestedPermissions | Gets the minimum permissions the code requires to run. |
| Name | Description | |
|---|---|---|
![]() | Clone() | Creates a new object that is a copy of the current instance.(Overrides EvidenceBase::Clone().) |
![]() | Copy() | Creates an equivalent copy of the current PermissionRequestEvidence. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | ToString() | Gets a string representation of the state of the PermissionRequestEvidence.(Overrides Object::ToString().) |
Permission requests include the minimum permissions the code requires to run, permissions the code can use if they are granted, but are not required, and permissions the code explicitly asks not to be granted.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

