PolicyLevel.CreateAppDomainLevel 메서드

정의

주의

AppDomain policy levels are 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:
 static System::Security::Policy::PolicyLevel ^ CreateAppDomainLevel();
public static System.Security.Policy.PolicyLevel CreateAppDomainLevel();
[System.Obsolete("AppDomain policy levels are 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 static System.Security.Policy.PolicyLevel CreateAppDomainLevel();
static member CreateAppDomainLevel : unit -> System.Security.Policy.PolicyLevel
[<System.Obsolete("AppDomain policy levels are obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")>]
static member CreateAppDomainLevel : unit -> System.Security.Policy.PolicyLevel
Public Shared Function CreateAppDomainLevel () As PolicyLevel

반품

새로 만든 PolicyLevel.

특성

설명

Caution

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

이 메서드는 "AppDomain"을 사용하여 새 PolicyLevel 메서드를 Label 만듭니다. 새 PolicyLevel 항목은 처음에 기본 컴퓨터 정책과 동일한 NamedPermissionSet 개체를 포함하며 모든 코드에 부여 FullTrust 되는 단일 루트 코드 그룹을 갖게 됩니다.

적용 대상

추가 정보