Share via


PolicyLevel.RemoveFullTrustAssembly Metodo

Definizione

Rimuove un assembly dall'elenco di assembly utilizzato dal livello di criteri per eseguire la valutazione dei criteri.

Overload

RemoveFullTrustAssembly(StrongName)
Obsoleti.
Obsoleti.

Rimuove un assembly con l'oggetto StrongName specificato dall'elenco di assembly utilizzato dal livello di criteri per eseguire la valutazione dei criteri.

RemoveFullTrustAssembly(StrongNameMembershipCondition)
Obsoleti.
Obsoleti.

Rimuove un assembly con l'oggetto StrongNameMembershipCondition specificato dall'elenco di assembly utilizzato dal livello di criteri per eseguire la valutazione dei criteri.

RemoveFullTrustAssembly(StrongName)

Origine:
PolicyLevel.cs
Origine:
PolicyLevel.cs
Origine:
PolicyLevel.cs
Origine:
PolicyLevel.cs

Attenzione

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.

Attenzione

Questa API è ora deprecata.

Rimuove un assembly con l'oggetto StrongName specificato dall'elenco di assembly utilizzato dal livello di criteri per eseguire la valutazione dei criteri.

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)

Parametri

sn
StrongName

Oggetto StrongName dell'assembly da rimuovere dall'elenco di assembly utilizzato per eseguire la valutazione dei criteri.

Attributi

Eccezioni

Il valore del parametro sn è null.

L'assembly con l'oggetto StrongName specificato dal parametro sn non ha attendibilità totale.

Commenti

Il RemoveFullTrustAssembly metodo non è supportato nella versione 2.0 o successiva di .NET Framework perché l'elenco di assembly di attendibilità completi non viene usato in tali versioni.

Si applica a

RemoveFullTrustAssembly(StrongNameMembershipCondition)

Origine:
PolicyLevel.cs
Origine:
PolicyLevel.cs
Origine:
PolicyLevel.cs
Origine:
PolicyLevel.cs

Attenzione

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.

Attenzione

Questa API è ora deprecata.

Rimuove un assembly con l'oggetto StrongNameMembershipCondition specificato dall'elenco di assembly utilizzato dal livello di criteri per eseguire la valutazione dei criteri.

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)

Parametri

snMC
StrongNameMembershipCondition

Oggetto StrongNameMembershipCondition dell'assembly da rimuovere dall'elenco di assembly utilizzato per eseguire la valutazione dei criteri.

Attributi

Eccezioni

Il valore del parametro snMC è null.

L'oggetto StrongNameMembershipCondition specificato dal parametro snMC non ha attendibilità totale.

Commenti

Il RemoveFullTrustAssembly metodo non è supportato nella versione 2.0 o successiva di .NET Framework perché l'elenco di assembly di attendibilità completi non viene usato in tali versioni.

Si applica a