PolicyLevel.RemoveFullTrustAssembly Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Quita un ensamblado de la lista de ensamblados que el nivel de directiva utiliza para evaluar la directiva.
Sobrecargas
RemoveFullTrustAssembly(StrongName) |
Obsoletos.
Obsoletos.
Quita un ensamblado con el StrongName especificado de la lista de ensamblados que el nivel de directiva utiliza para evaluar la directiva. |
RemoveFullTrustAssembly(StrongNameMembershipCondition) |
Obsoletos.
Obsoletos.
Quita un ensamblado con el StrongNameMembershipCondition especificado de la lista de ensamblados que el nivel de directiva utiliza para evaluar la directiva. |
RemoveFullTrustAssembly(StrongName)
- Source:
- PolicyLevel.cs
- Source:
- PolicyLevel.cs
Precaució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.
Precaución
Esta API ya está en desuso.
Quita un ensamblado con el StrongName especificado de la lista de ensamblados que el nivel de directiva utiliza para evaluar la directiva.
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)
Parámetros
- sn
- StrongName
El StrongName del ensamblado que se va a quitar de la lista de ensamblados que se utiliza para evaluar la directiva.
- Atributos
Excepciones
El parámetro sn
es null
.
El ensamblado con el StrongName especificado por el parámetro sn
no tiene plena confianza.
Comentarios
El RemoveFullTrustAssembly método no se admite en la versión 2.0 o posterior de .NET Framework porque la lista de ensamblados de plena confianza no se usa en esas versiones.
Se aplica a
RemoveFullTrustAssembly(StrongNameMembershipCondition)
- Source:
- PolicyLevel.cs
- Source:
- PolicyLevel.cs
Precaució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.
Precaución
Esta API ya está en desuso.
Quita un ensamblado con el StrongNameMembershipCondition especificado de la lista de ensamblados que el nivel de directiva utiliza para evaluar la directiva.
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)
Parámetros
El StrongNameMembershipCondition del ensamblado que se va a quitar de la lista de ensamblados que se utiliza para evaluar la directiva.
- Atributos
Excepciones
El parámetro snMC
es null
.
El StrongNameMembershipCondition especificado por el parámetro snMC
no tiene plena confianza.
Comentarios
El RemoveFullTrustAssembly método no se admite en la versión 2.0 o posterior de .NET Framework porque la lista de ensamblados de plena confianza no se usa en esas versiones.