Share via


PermissionRequestEvidence 클래스

정의

주의

This type is obsolete. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.

주의

This type is obsolete. See https://go.microsoft.com/fwlink/?LinkID=155570 for more information.

주의

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 : System::Security::Policy::EvidenceBase
public ref class PermissionRequestEvidence sealed
[System.Obsolete("This type is obsolete. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
public sealed class PermissionRequestEvidence : System.Security.Policy.EvidenceBase
[System.Obsolete("This type is obsolete. See https://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
public sealed class PermissionRequestEvidence : System.Security.Policy.EvidenceBase
[System.Serializable]
public sealed class PermissionRequestEvidence
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class PermissionRequestEvidence
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Obsolete("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 : System.Security.Policy.EvidenceBase
public sealed class PermissionRequestEvidence : System.Security.Policy.EvidenceBase
[<System.Obsolete("This type is obsolete. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")>]
type PermissionRequestEvidence = class
    inherit EvidenceBase
[<System.Obsolete("This type is obsolete. See https://go.microsoft.com/fwlink/?LinkID=155570 for more information.")>]
type PermissionRequestEvidence = class
    inherit EvidenceBase
[<System.Serializable>]
type PermissionRequestEvidence = class
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type PermissionRequestEvidence = class
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Obsolete("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.")>]
type PermissionRequestEvidence = class
    inherit EvidenceBase
type PermissionRequestEvidence = class
    inherit EvidenceBase
Public NotInheritable Class PermissionRequestEvidence
Inherits EvidenceBase
Public NotInheritable Class PermissionRequestEvidence
상속
PermissionRequestEvidence
상속
PermissionRequestEvidence
특성

설명

주의

CAS(코드 액세스 보안)는 .NET Framework 및 .NET의 모든 버전에서 더 이상 사용되지 않습니다. 최신 버전의 .NET은 CAS 주석을 준수하지 않으며 CAS 관련 API를 사용하는 경우 오류가 발생합니다. 개발자는 보안 작업을 수행하는 대체 수단을 찾아야 합니다.

권한 요청에는 코드가 실행하는 데 필요한 최소 권한, 코드가 부여되었지만 필요하지 않은 경우 사용할 수 있는 권한 및 코드가 명시적으로 부여하지 않도록 요청하는 권한이 포함됩니다.

생성자

PermissionRequestEvidence(PermissionSet, PermissionSet, PermissionSet)
사용되지 않음.
사용되지 않음.
사용되지 않음.

코드 어셈블리의 권한 요청을 사용하여 PermissionRequestEvidence 클래스의 새 인스턴스를 초기화합니다.

속성

DeniedPermissions
사용되지 않음.
사용되지 않음.
사용되지 않음.

부여되지 않도록 코드에서 명시적으로 요청하는 권한을 가져옵니다.

OptionalPermissions
사용되지 않음.
사용되지 않음.
사용되지 않음.

코드에서 필요하지는 않지만 부여된 경우 사용할 수 있는 권한을 가져옵니다.

RequestedPermissions
사용되지 않음.
사용되지 않음.
사용되지 않음.

코드를 실행하는 데 필요한 최소 권한을 가져옵니다.

메서드

Clone()
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 인스턴스의 복사본인 새 개체를 만듭니다.

Clone()
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 인스턴스의 전체 복사본인 새 개체를 만듭니다.

(다음에서 상속됨 EvidenceBase)
Copy()
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 PermissionRequestEvidence의 동일한 복사본을 만듭니다.

Equals(Object)
사용되지 않음.
사용되지 않음.
사용되지 않음.

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()
사용되지 않음.
사용되지 않음.
사용되지 않음.

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
MemberwiseClone()
사용되지 않음.
사용되지 않음.
사용되지 않음.

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()
사용되지 않음.
사용되지 않음.
사용되지 않음.

PermissionRequestEvidence의 상태에 대한 문자열 표현을 가져옵니다.

적용 대상