UnionCodeGroup 클래스

정의

주의

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

설명

Caution

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

코드 그룹은 코드 액세스 보안 정책의 구성 요소입니다. 각 정책 수준은 트리를 형성하는 자식 코드 그룹(등)을 가질 수 있는 루트 코드 그룹으로 구성됩니다. 각 코드 그룹에는 해당 어셈블리에 대한 증명 정보를 기반으로 지정된 어셈블리가 해당 어셈블리에 속하는지 여부를 결정하는 멤버 자격 조건이 있습니다. 멤버 자격 조건이 지정된 어셈블리와 일치하는 코드 그룹과 해당 자식 코드 그룹만 정책을 적용합니다.

UnionCodeGroup 는 코드 그룹의 가장 일반적인 형식입니다. 일치하는 모든 자식 코드 그룹의 정책 문(및 확장에 따라 자식 코드 그룹)은 일치하는 부모 코드 그룹의 사용 권한 집합과 결합됩니다. 따라서 멤버 자격 조건이 일치하는 경우 이 코드 그룹은 정책 문의 합집합과 증거와 일치하는 모든 자식 코드 그룹의 합집합을 형성합니다.

UnionCodeGroup 코드 그룹은 CASPOL 유틸리티에서 만든 코드 그룹입니다( Caspol.exe 참조(코드 액세스 보안 정책 도구).

생성자

Name Description
UnionCodeGroup(IMembershipCondition, PolicyStatement)
사용되지 않음.
사용되지 않음.

UnionCodeGroup 클래스의 새 인스턴스를 초기화합니다.

속성

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)

적용 대상