FirstMatchCodeGroup 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
주의
This type is obsolete. See https://go.microsoft.com/fwlink/?LinkID=155570 for more information.
주의
This type is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.
코드 그룹의 정책 문과 일치하는 첫 번째 자식 코드 그룹의 정책 문 합집합으로 보안 정책을 정의할 수 있습니다. 이 클래스는 상속할 수 없습니다.
public ref class FirstMatchCodeGroup sealed : System::Security::Policy::CodeGroup
[System.Obsolete("This type is obsolete. See https://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
public sealed class FirstMatchCodeGroup : System.Security.Policy.CodeGroup
[System.Serializable]
public sealed class FirstMatchCodeGroup : System.Security.Policy.CodeGroup
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class FirstMatchCodeGroup : System.Security.Policy.CodeGroup
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Obsolete("This type is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
public sealed class FirstMatchCodeGroup : System.Security.Policy.CodeGroup
public sealed class FirstMatchCodeGroup : System.Security.Policy.CodeGroup
[<System.Obsolete("This type is obsolete. See https://go.microsoft.com/fwlink/?LinkID=155570 for more information.")>]
type FirstMatchCodeGroup = class
inherit CodeGroup
[<System.Serializable>]
type FirstMatchCodeGroup = class
inherit CodeGroup
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type FirstMatchCodeGroup = class
inherit CodeGroup
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Obsolete("This type is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")>]
type FirstMatchCodeGroup = class
inherit CodeGroup
type FirstMatchCodeGroup = class
inherit CodeGroup
Public NotInheritable Class FirstMatchCodeGroup
Inherits CodeGroup
- 상속
- 특성
설명
Caution
CAS(코드 액세스 보안)는 모든 버전의 .NET Framework 및 .NET에서 더 이상 사용되지 않습니다. 최신 버전의 .NET은 CAS 주석을 준수하지 않으며 CAS 관련 API를 사용하는 경우 오류가 발생합니다. 개발자는 보안 작업을 수행하는 다른 방법을 찾아야 합니다.
코드 그룹은 코드 액세스 보안 정책의 구성 요소입니다. 각 정책 수준은 자식 코드 그룹을 가질 수 있는 루트 코드 그룹으로 구성됩니다. 각 자식 코드 그룹에는 자체 자식 코드 그룹이 있을 수 있습니다. 이 동작은 여러 수준으로 확장되며 트리를 형성합니다. 각 코드 그룹에는 해당 어셈블리에 대한 증명 정보를 기반으로 지정된 어셈블리가 해당 어셈블리에 속하는지 여부를 결정하는 멤버 자격 조건이 있습니다. 멤버 자격 조건이 지정된 어셈블리와 일치하는 코드 그룹과 해당 자식 코드 그룹만 정책을 적용합니다.
다른 코드 그룹과 FirstMatchCodeGroup 마찬가지로 멤버 자격 조건이 어셈블리에 대한 증거와 일치하는 경우에만 적용됩니다. 일치 항목이 있는 경우 각 자식의 멤버 자격 조건을 순서대로 테스트하여 첫 번째 일치가 발생할 때 중지합니다. 그 결과 FirstMatchCodeGroup 루트 코드 그룹의 정책 문과 일치하는 해당 코드 그룹의 첫 번째 자식 그룹의 정책 문이 결합됩니다.
FirstMatchCodeGroup 는 애플리케이션 도메인 호스트가 도메인 정책을 설정하기 위해 프로그래밍 방식으로 사용하기 위한 것입니다.
생성자
| Name | Description |
|---|---|
| FirstMatchCodeGroup(IMembershipCondition, PolicyStatement) |
사용되지 않음.
사용되지 않음.
FirstMatchCodeGroup 클래스의 새 인스턴스를 초기화합니다. |
속성
| Name | Description |
|---|---|
| AttributeString |
사용되지 않음.
사용되지 않음.
코드 그룹에 대한 정책 문의 특성에 대한 문자열 표현을 가져옵니다. (다음에서 상속됨 CodeGroup) |
| Children |
사용되지 않음.
사용되지 않음.
코드 그룹의 자식 코드 그룹의 순서가 지정된 목록을 가져오거나 설정합니다. (다음에서 상속됨 CodeGroup) |
| Description |
사용되지 않음.
사용되지 않음.
코드 그룹에 대한 설명을 가져오거나 설정합니다. (다음에서 상속됨 CodeGroup) |
| MembershipCondition |
사용되지 않음.
사용되지 않음.
코드 그룹의 멤버 자격 조건을 가져오거나 설정합니다. (다음에서 상속됨 CodeGroup) |
| MergeLogic |
사용되지 않음.
사용되지 않음.
병합 논리를 가져옵니다. |
| Name |
사용되지 않음.
사용되지 않음.
코드 그룹의 이름을 가져오거나 설정합니다. (다음에서 상속됨 CodeGroup) |
| PermissionSetName |
사용되지 않음.
사용되지 않음.
코드 그룹에 대한 명명된 권한 집합의 이름을 가져옵니다. (다음에서 상속됨 CodeGroup) |
| PolicyStatement |
사용되지 않음.
사용되지 않음.
코드 그룹과 연결된 정책 문을 가져오거나 설정합니다. (다음에서 상속됨 CodeGroup) |
메서드
| Name | Description |
|---|---|
| AddChild(CodeGroup) |
사용되지 않음.
사용되지 않음.
현재 코드 그룹에 자식 코드 그룹을 추가합니다. (다음에서 상속됨 CodeGroup) |
| Copy() |
사용되지 않음.
사용되지 않음.
코드 그룹의 전체 복사본을 만듭니다. |
| CreateXml(SecurityElement, PolicyLevel) |
사용되지 않음.
사용되지 않음.
파생 클래스에서 재정의되는 경우 파생된 코드 그룹에 한정된 속성 및 내부 상태를 serialize하고 지정된 SecurityElement에 serialization을 추가합니다. (다음에서 상속됨 CodeGroup) |
| Equals(CodeGroup, Boolean) |
사용되지 않음.
사용되지 않음.
지정된 코드 그룹이 현재 코드 그룹과 동일한지 여부를 확인하고 자식 코드 그룹도 확인합니다(지정된 경우). (다음에서 상속됨 CodeGroup) |
| Equals(Object) |
사용되지 않음.
사용되지 않음.
지정된 코드 그룹이 현재 코드 그룹과 동일한지 여부를 확인합니다. (다음에서 상속됨 CodeGroup) |
| FromXml(SecurityElement, PolicyLevel) |
사용되지 않음.
사용되지 않음.
XML 인코딩에서 지정된 상태 및 정책 수준으로 보안 개체를 다시 구성합니다. (다음에서 상속됨 CodeGroup) |
| FromXml(SecurityElement) |
사용되지 않음.
사용되지 않음.
XML 인코딩에서 지정된 상태로 보안 개체를 다시 구성합니다. (다음에서 상속됨 CodeGroup) |
| GetHashCode() |
사용되지 않음.
사용되지 않음.
현재 코드 그룹의 해시 코드를 가져옵니다. (다음에서 상속됨 CodeGroup) |
| GetType() |
사용되지 않음.
사용되지 않음.
현재 인스턴스의 Type 가져옵니다. (다음에서 상속됨 Object) |
| MemberwiseClone() |
사용되지 않음.
사용되지 않음.
현재 Object단순 복사본을 만듭니다. (다음에서 상속됨 Object) |
| ParseXml(SecurityElement, PolicyLevel) |
사용되지 않음.
사용되지 않음.
파생 클래스에서 재정의되는 경우 지정된 SecurityElement코드 그룹에서 파생된 코드 그룹과 관련된 속성 및 내부 상태를 다시 구성합니다. (다음에서 상속됨 CodeGroup) |
| RemoveChild(CodeGroup) |
사용되지 않음.
사용되지 않음.
지정된 자식 코드 그룹을 제거합니다. (다음에서 상속됨 CodeGroup) |
| Resolve(Evidence) |
사용되지 않음.
사용되지 않음.
증명 정보 집합에 대한 코드 그룹 및 해당 하위 항목에 대한 정책을 확인합니다. |
| ResolveMatchingCodeGroups(Evidence) |
사용되지 않음.
사용되지 않음.
일치하는 코드 그룹을 확인합니다. |
| ToString() |
사용되지 않음.
사용되지 않음.
현재 개체를 나타내는 문자열을 반환합니다. (다음에서 상속됨 Object) |
| ToXml() |
사용되지 않음.
사용되지 않음.
보안 개체 및 현재 상태의 XML 인코딩을 만듭니다. (다음에서 상속됨 CodeGroup) |
| ToXml(PolicyLevel) |
사용되지 않음.
사용되지 않음.
보안 개체, 현재 상태 및 코드가 있는 정책 수준의 XML 인코딩을 만듭니다. (다음에서 상속됨 CodeGroup) |