Språk

PolicyLevel.RemoveFullTrustAssembly Metod

Definition

Tar bort en sammansättning från listan över sammansättningar som principnivån använder för att utvärdera principen.

Överlagringar

Name Description
RemoveFullTrustAssembly(StrongName)
Föråldrad.
Föråldrad.

Tar bort en sammansättning med angiven StrongName från listan över sammansättningar som principnivån använder för att utvärdera principen.

RemoveFullTrustAssembly(StrongNameMembershipCondition)
Föråldrad.
Föråldrad.

Tar bort en sammansättning med angiven StrongNameMembershipCondition från listan över sammansättningar som principnivån använder för att utvärdera principen.

RemoveFullTrustAssembly(StrongName)

Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs

Varning

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.

Varning

Det här API:et är nu inaktuellt.

Tar bort en sammansättning med angiven StrongName från listan över sammansättningar som principnivån använder för att utvärdera principen.

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)

Parametrar

sn
StrongName

Den StrongName sammansättning som ska tas bort från listan över sammansättningar som används för att utvärdera principen.

Attribut

Undantag

Parametern sn är null.

Sammansättningen med den StrongName som anges av parametern sn har inte fullständigt förtroende.

Kommentarer

Metoden RemoveFullTrustAssembly stöds inte i version 2.0 eller senare av .NET Framework eftersom listan över fullständiga förtroendesammansättningar inte används i dessa versioner.

Gäller för

RemoveFullTrustAssembly(StrongNameMembershipCondition)

Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs
Källa:
PolicyLevel.cs

Varning

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.

Varning

Det här API:et är nu inaktuellt.

Tar bort en sammansättning med angiven StrongNameMembershipCondition från listan över sammansättningar som principnivån använder för att utvärdera principen.

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)

Parametrar

snMC
StrongNameMembershipCondition

Den StrongNameMembershipCondition sammansättning som ska tas bort från listan över sammansättningar som används för att utvärdera principen.

Attribut

Undantag

Parametern snMC är null.

Den StrongNameMembershipCondition som anges av parametern snMC har inte fullständigt förtroende.

Kommentarer

Metoden RemoveFullTrustAssembly stöds inte i version 2.0 eller senare av .NET Framework eftersom listan över fullständiga förtroendesammansättningar inte används i dessa versioner.

Gäller för