PolicyLevel.RemoveFullTrustAssembly Metoda

Definicja

Usuwa zestaw z listy zestawów używanych przez poziom zasad do oceny zasad.

Przeciążenia

RemoveFullTrustAssembly(StrongName)
Nieaktualne.
Nieaktualne.
Nieaktualne.

Usuwa zestaw z określoną StrongName wartością z listy zestawów używanych przez poziom zasad do oceny zasad.

RemoveFullTrustAssembly(StrongNameMembershipCondition)
Nieaktualne.
Nieaktualne.
Nieaktualne.

Usuwa zestaw z określoną StrongNameMembershipCondition wartością z listy zestawów używanych przez poziom zasad do oceny zasad.

RemoveFullTrustAssembly(StrongName)

Przestroga

Ten interfejs API jest już przestarzały.

Przestroga

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.

Przestroga

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

Usuwa zestaw z określoną StrongName wartością z listy zestawów używanych przez poziom zasad do oceny zasad.

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

Element StrongName zestawu do usunięcia z listy zestawów używanych do oceny zasad.

Atrybuty

Wyjątki

Parametr sn ma wartość null.

Zestaw z StrongName określonym przez sn parametr nie ma pełnego zaufania.

Uwagi

Metoda RemoveFullTrustAssembly nie jest obsługiwana w wersji 2.0 lub nowszej .NET Framework, ponieważ lista zestawów pełnego zaufania nie jest używana w tych wersjach.

Dotyczy

RemoveFullTrustAssembly(StrongNameMembershipCondition)

Przestroga

Ten interfejs API jest już przestarzały.

Przestroga

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.

Przestroga

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

Usuwa zestaw z określoną StrongNameMembershipCondition wartością z listy zestawów używanych przez poziom zasad do oceny zasad.

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

Element StrongNameMembershipCondition zestawu do usunięcia z listy zestawów używanych do oceny zasad.

Atrybuty

Wyjątki

Parametr snMC ma wartość null.

Parametr StrongNameMembershipCondition określony przez snMC parametr nie ma pełnego zaufania.

Uwagi

Metoda RemoveFullTrustAssembly nie jest obsługiwana w wersji 2.0 lub nowszej .NET Framework, ponieważ lista zestawów pełnego zaufania nie jest używana w tych wersjach.

Dotyczy