PolicyLevel.AddFullTrustAssembly 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
StrongNameMembershipCondition 어셈블리가 평가해서는 안 되는 어셈블리 그룹의 멤버인지 여부를 확인하는 데 사용되는 개체 목록에 StrongNameMembershipCondition a를 추가합니다.
오버로드
| Name | Description |
|---|---|
| AddFullTrustAssembly(StrongName) |
사용되지 않음.
StrongNameMembershipCondition 어셈블리가 평가해서는 안 되는 StrongName 어셈블리 그룹의 멤버인지 여부를 확인하는 데 사용되는 개체 목록에 StrongNameMembershipCondition 지정된 해당 항목을 추가합니다. |
| AddFullTrustAssembly(StrongNameMembershipCondition) |
사용되지 않음.
어셈블리가 평가해서는 안 되는 StrongNameMembershipCondition 어셈블리 그룹의 멤버인지 여부를 확인하는 데 사용되는 개체 목록에 StrongNameMembershipCondition 지정된 항목을 추가합니다. |
AddFullTrustAssembly(StrongName)
주의
Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.
StrongNameMembershipCondition 어셈블리가 평가해서는 안 되는 StrongName 어셈블리 그룹의 멤버인지 여부를 확인하는 데 사용되는 개체 목록에 StrongNameMembershipCondition 지정된 해당 항목을 추가합니다.
public:
void AddFullTrustAssembly(System::Security::Policy::StrongName ^ sn);
public void AddFullTrustAssembly(System.Security.Policy.StrongName sn);
[System.Obsolete("Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.")]
public void AddFullTrustAssembly(System.Security.Policy.StrongName sn);
member this.AddFullTrustAssembly : System.Security.Policy.StrongName -> unit
[<System.Obsolete("Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.")>]
member this.AddFullTrustAssembly : System.Security.Policy.StrongName -> unit
Public Sub AddFullTrustAssembly (sn As StrongName)
매개 변수
- sn
- StrongName
StrongName 어셈블리가 평가해서는 안 되는 어셈블리 그룹의 멤버인지 여부를 확인하는 데 사용되는 개체 목록에 StrongNameMembershipCondition 추가할 대상을 만드는 StrongNameMembershipCondition 데 사용됩니다.
- 특성
예외
매개 변수는 sn .입니다 null.
StrongName 매개 변수에 지정된 모든 신뢰가 sn 이미 있습니다.
설명
전체 신뢰 어셈블리 목록은 해당 버전에서 사용되지 않으므로 AddFullTrustAssembly 메서드는 .NET Framework 버전 2.0 이상에서 지원되지 않습니다.
추가 정보
적용 대상
AddFullTrustAssembly(StrongNameMembershipCondition)
주의
Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.
어셈블리가 평가해서는 안 되는 StrongNameMembershipCondition 어셈블리 그룹의 멤버인지 여부를 확인하는 데 사용되는 개체 목록에 StrongNameMembershipCondition 지정된 항목을 추가합니다.
public:
void AddFullTrustAssembly(System::Security::Policy::StrongNameMembershipCondition ^ snMC);
public void AddFullTrustAssembly(System.Security.Policy.StrongNameMembershipCondition snMC);
[System.Obsolete("Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.")]
public void AddFullTrustAssembly(System.Security.Policy.StrongNameMembershipCondition snMC);
member this.AddFullTrustAssembly : System.Security.Policy.StrongNameMembershipCondition -> unit
[<System.Obsolete("Because all GAC assemblies always get full trust, the full trust list is no longer meaningful. You should install any assemblies that are used in security policy in the GAC to ensure they are trusted.")>]
member this.AddFullTrustAssembly : System.Security.Policy.StrongNameMembershipCondition -> unit
Public Sub AddFullTrustAssembly (snMC As StrongNameMembershipCondition)
매개 변수
StrongNameMembershipCondition 어셈블리가 평가해서는 안 되는 어셈블리 그룹의 멤버인지 여부를 확인하는 데 사용되는 개체 목록에 StrongNameMembershipCondition 추가할 개체입니다.
- 특성
예외
매개 변수는 snMC .입니다 null.
StrongNameMembershipCondition 매개 변수에 지정된 모든 신뢰가 snMC 이미 있습니다.
설명
전체 신뢰 어셈블리 목록은 해당 버전에서 사용되지 않으므로 AddFullTrustAssembly 메서드는 .NET Framework 버전 2.0 이상에서 지원되지 않습니다.