This documentation is archived and is not being maintained.
PermissionRequestEvidence Class
Visual Studio 2010
Note: This API is now obsolete.
Defines evidence that represents permission requests. This class cannot be inherited.
System::Object
System.Security.Policy::EvidenceBase
System.Security.Policy::PermissionRequestEvidence
System.Security.Policy::EvidenceBase
System.Security.Policy::PermissionRequestEvidence
Assembly: mscorlib (in mscorlib.dll)
[SerializableAttribute] [ComVisibleAttribute(true)] [ObsoleteAttribute(L"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 : public EvidenceBase
The PermissionRequestEvidence type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | PermissionRequestEvidence | 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.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Gets a string representation of the state of the PermissionRequestEvidence. (Overrides Object::ToString().) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
