PermissionRequestEvidence Class

PermissionRequestEvidence Class

 
Note: This API is now obsolete.

Defines evidence that represents permission requests. This class cannot be inherited.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

System.Object
  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 sealed class PermissionRequestEvidence : EvidenceBase

NameDescription
System_CAPS_pubmethodPermissionRequestEvidence(PermissionSet, PermissionSet, PermissionSet)

Initializes a new instance of the PermissionRequestEvidence class with the permission request of a code assembly.

NameDescription
System_CAPS_pubpropertyDeniedPermissions

Gets the permissions the code explicitly asks not to be granted.

System_CAPS_pubpropertyOptionalPermissions

Gets the permissions the code can use if they are granted, but are not required.

System_CAPS_pubpropertyRequestedPermissions

Gets the minimum permissions the code requires to run.

NameDescription
System_CAPS_pubmethodClone()

Creates a new object that is a copy of the current instance.(Overrides EvidenceBase.Clone().)

System_CAPS_pubmethodCopy()

Creates an equivalent copy of the current PermissionRequestEvidence.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

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.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft