Język

PolicyLevel.AddFullTrustAssembly Metoda

Definicja

Dodaje obiekt StrongNameMembershipCondition do listy obiektów używanych StrongNameMembershipCondition do określenia, czy zestaw jest członkiem grupy zestawów, które nie powinny być oceniane.

Przeciążenia

Nazwa Opis
AddFullTrustAssembly(StrongName)
Przestarzałe.
Przestarzałe.

StrongNameMembershipCondition Dodaje element odpowiadający określonej StrongName liście StrongNameMembershipCondition obiektów używanych do określenia, czy zestaw jest członkiem grupy zestawów, które nie powinny być oceniane.

AddFullTrustAssembly(StrongNameMembershipCondition)
Przestarzałe.
Przestarzałe.

Dodaje określony StrongNameMembershipCondition element do listy obiektów używanych StrongNameMembershipCondition do określenia, czy zestaw jest członkiem grupy zestawów, które nie powinny być oceniane.

AddFullTrustAssembly(StrongName)

Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs

Uwaga

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.

Uwaga

Ten interfejs API jest już przestarzały.

StrongNameMembershipCondition Dodaje element odpowiadający określonej StrongName liście StrongNameMembershipCondition obiektów używanych do określenia, czy zestaw jest członkiem grupy zestawów, które nie powinny być oceniane.

public:
 void AddFullTrustAssembly(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 AddFullTrustAssembly(System.Security.Policy.StrongName sn);
public void AddFullTrustAssembly(System.Security.Policy.StrongName sn);
[System.Obsolete]
public void AddFullTrustAssembly(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.AddFullTrustAssembly : System.Security.Policy.StrongName -> unit
member this.AddFullTrustAssembly : System.Security.Policy.StrongName -> unit
[<System.Obsolete>]
member this.AddFullTrustAssembly : System.Security.Policy.StrongName -> unit
Public Sub AddFullTrustAssembly (sn As StrongName)

Parametry

sn
StrongName

Element StrongName służący do dodawania StrongNameMembershipCondition elementu do listy obiektów używanych StrongNameMembershipCondition do określania, czy zestaw jest członkiem grupy zestawów, które nie powinny być oceniane.

Atrybuty

Wyjątki

Parametr sn jest null.

Określony StrongName przez sn parametr ma już pełne zaufanie.

Uwagi

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

Zobacz też

Dotyczy

AddFullTrustAssembly(StrongNameMembershipCondition)

Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs
Źródło:
PolicyLevel.cs

Uwaga

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.

Uwaga

Ten interfejs API jest już przestarzały.

Dodaje określony StrongNameMembershipCondition element do listy obiektów używanych StrongNameMembershipCondition do określenia, czy zestaw jest członkiem grupy zestawów, które nie powinny być oceniane.

public:
 void AddFullTrustAssembly(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 AddFullTrustAssembly(System.Security.Policy.StrongNameMembershipCondition snMC);
public void AddFullTrustAssembly(System.Security.Policy.StrongNameMembershipCondition snMC);
[System.Obsolete]
public void AddFullTrustAssembly(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.AddFullTrustAssembly : System.Security.Policy.StrongNameMembershipCondition -> unit
member this.AddFullTrustAssembly : System.Security.Policy.StrongNameMembershipCondition -> unit
[<System.Obsolete>]
member this.AddFullTrustAssembly : System.Security.Policy.StrongNameMembershipCondition -> unit
Public Sub AddFullTrustAssembly (snMC As StrongNameMembershipCondition)

Parametry

snMC
StrongNameMembershipCondition

Element StrongNameMembershipCondition , który ma zostać dodany do listy obiektów używanych StrongNameMembershipCondition do określenia, czy zestaw jest członkiem grupy zestawów, które nie powinny być oceniane.

Atrybuty

Wyjątki

Parametr snMC jest null.

Określony StrongNameMembershipCondition przez snMC parametr ma już pełne zaufanie.

Uwagi

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

Zobacz też

Dotyczy