Share via


PolicyLevel.RemoveFullTrustAssembly Metoda

Definice

Odebere sestavení ze seznamu sestavení, která úroveň zásad používá k vyhodnocení zásad.

Přetížení

RemoveFullTrustAssembly(StrongName)
Zastaralé.
Zastaralé.

Odebere sestavení se zadaným StrongName ze seznamu sestavení, která úroveň zásad používá k vyhodnocení zásad.

RemoveFullTrustAssembly(StrongNameMembershipCondition)
Zastaralé.
Zastaralé.

Odebere sestavení se zadaným StrongNameMembershipCondition ze seznamu sestavení, která úroveň zásad používá k vyhodnocení zásad.

RemoveFullTrustAssembly(StrongName)

Zdroj:
PolicyLevel.cs
Zdroj:
PolicyLevel.cs
Zdroj:
PolicyLevel.cs
Zdroj:
PolicyLevel.cs

Upozornění

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.

Upozornění

Toto rozhraní API je teď zastaralé.

Odebere sestavení se zadaným StrongName ze seznamu sestavení, která úroveň zásad používá k vyhodnocení zásad.

public:
 void RemoveFullTrustAssembly(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 RemoveFullTrustAssembly (System.Security.Policy.StrongName sn);
public void RemoveFullTrustAssembly (System.Security.Policy.StrongName sn);
[System.Obsolete]
public void RemoveFullTrustAssembly (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.")>]
member this.RemoveFullTrustAssembly : System.Security.Policy.StrongName -> unit
member this.RemoveFullTrustAssembly : System.Security.Policy.StrongName -> unit
[<System.Obsolete>]
member this.RemoveFullTrustAssembly : System.Security.Policy.StrongName -> unit
Public Sub RemoveFullTrustAssembly (sn As StrongName)

Parametry

sn
StrongName

Seznam StrongName sestavení, které se má odebrat ze seznamu sestavení používaných k vyhodnocení zásad.

Atributy

Výjimky

Parametr sn je null.

Sestavení se StrongName zadaným parametrem sn nemá úplný vztah důvěryhodnosti.

Poznámky

Metoda RemoveFullTrustAssembly není podporována ve verzi 2.0 nebo novější rozhraní .NET Framework, protože seznam sestavení s úplným vztahem důvěryhodnosti se v těchto verzích nepoužívá.

Platí pro

RemoveFullTrustAssembly(StrongNameMembershipCondition)

Zdroj:
PolicyLevel.cs
Zdroj:
PolicyLevel.cs
Zdroj:
PolicyLevel.cs
Zdroj:
PolicyLevel.cs

Upozornění

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.

Upozornění

Toto rozhraní API je teď zastaralé.

Odebere sestavení se zadaným StrongNameMembershipCondition ze seznamu sestavení, která úroveň zásad používá k vyhodnocení zásad.

public:
 void RemoveFullTrustAssembly(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 RemoveFullTrustAssembly (System.Security.Policy.StrongNameMembershipCondition snMC);
public void RemoveFullTrustAssembly (System.Security.Policy.StrongNameMembershipCondition snMC);
[System.Obsolete]
public void RemoveFullTrustAssembly (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.")>]
member this.RemoveFullTrustAssembly : System.Security.Policy.StrongNameMembershipCondition -> unit
member this.RemoveFullTrustAssembly : System.Security.Policy.StrongNameMembershipCondition -> unit
[<System.Obsolete>]
member this.RemoveFullTrustAssembly : System.Security.Policy.StrongNameMembershipCondition -> unit
Public Sub RemoveFullTrustAssembly (snMC As StrongNameMembershipCondition)

Parametry

snMC
StrongNameMembershipCondition

Seznam StrongNameMembershipCondition sestavení, které se má odebrat ze seznamu sestavení používaných k vyhodnocení zásad.

Atributy

Výjimky

Parametr snMC je null.

Zadaný StrongNameMembershipCondition parametrem snMC nemá úplný vztah důvěryhodnosti.

Poznámky

Metoda RemoveFullTrustAssembly není podporována ve verzi 2.0 nebo novější rozhraní .NET Framework, protože seznam sestavení s úplným vztahem důvěryhodnosti se v těchto verzích nepoužívá.

Platí pro