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é.
Zastaralé.

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

RemoveFullTrustAssembly(StrongNameMembershipCondition)
Zastaralé.
Zastaralé.
Zastaralé.

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

RemoveFullTrustAssembly(StrongName)

Upozornění

Toto rozhraní API je teď zastaralé.

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í

All GACed assemblies are now fully trusted and all permissions now succeed on fully trusted code.

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]
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("All GACed assemblies are now fully trusted and all permissions now succeed on fully trusted code.")]
public void RemoveFullTrustAssembly (System.Security.Policy.StrongName sn);
[<System.Obsolete>]
member this.RemoveFullTrustAssembly : 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.RemoveFullTrustAssembly : System.Security.Policy.StrongName -> unit
member this.RemoveFullTrustAssembly : System.Security.Policy.StrongName -> unit
[<System.Obsolete("All GACed assemblies are now fully trusted and all permissions now succeed on fully trusted code.")>]
member this.RemoveFullTrustAssembly : System.Security.Policy.StrongName -> unit
Public Sub RemoveFullTrustAssembly (sn As StrongName)

Parametry

sn
StrongName

Sestavení StrongName , které se má odebrat ze seznamu sestavení použitý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 úplných důvěryhodných sestavení se v těchto verzích nepoužívá.

Platí pro

RemoveFullTrustAssembly(StrongNameMembershipCondition)

Upozornění

Toto rozhraní API je teď zastaralé.

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í

All GACed assemblies are now fully trusted and all permissions now succeed on fully trusted code.

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]
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("All GACed assemblies are now fully trusted and all permissions now succeed on fully trusted code.")]
public void RemoveFullTrustAssembly (System.Security.Policy.StrongNameMembershipCondition snMC);
[<System.Obsolete>]
member this.RemoveFullTrustAssembly : 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.RemoveFullTrustAssembly : System.Security.Policy.StrongNameMembershipCondition -> unit
member this.RemoveFullTrustAssembly : System.Security.Policy.StrongNameMembershipCondition -> unit
[<System.Obsolete("All GACed assemblies are now fully trusted and all permissions now succeed on fully trusted code.")>]
member this.RemoveFullTrustAssembly : System.Security.Policy.StrongNameMembershipCondition -> unit
Public Sub RemoveFullTrustAssembly (snMC As StrongNameMembershipCondition)

Parametry

snMC
StrongNameMembershipCondition

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

Atributy

Výjimky

Parametr snMC je null.

snMC Zadaný StrongNameMembershipCondition parametr 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 úplných důvěryhodných sestavení se v těchto verzích nepoužívá.

Platí pro