PolicyLevel.RemoveFullTrustAssembly メソッド

定義

ポリシー レベルでポリシーの評価に使用するアセンブリのリストから、アセンブリを削除します。

オーバーロード

RemoveFullTrustAssembly(StrongName)
古い.
古い.

ポリシー レベルでポリシーの評価に使用するアセンブリのリストから、指定した StrongName を持つアセンブリを削除します。

RemoveFullTrustAssembly(StrongNameMembershipCondition)
古い.
古い.

ポリシー レベルでポリシーの評価に使用するアセンブリのリストから、指定した StrongNameMembershipCondition を持つアセンブリを削除します。

RemoveFullTrustAssembly(StrongName)

ソース:
PolicyLevel.cs
ソース:
PolicyLevel.cs
ソース:
PolicyLevel.cs

注意事項

この API は非推奨になりました。

注意事項

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.

ポリシー レベルでポリシーの評価に使用するアセンブリのリストから、指定した StrongName を持つアセンブリを削除します。

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>]
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
Public Sub RemoveFullTrustAssembly (sn As StrongName)

パラメーター

sn
StrongName

ポリシーの評価に使用するアセンブリのリストから削除するアセンブリの StrongName

属性

例外

sn パラメーターが null です。

sn パラメーターで指定された StrongName を持つアセンブリが、完全信頼を得ていません。

注釈

RemoveFullTrustAssembly完全信頼アセンブリの一覧がこれらのバージョンでは使用されていないため、.NET Frameworkのバージョン 2.0 以降では メソッドはサポートされていません。

適用対象

RemoveFullTrustAssembly(StrongNameMembershipCondition)

ソース:
PolicyLevel.cs
ソース:
PolicyLevel.cs
ソース:
PolicyLevel.cs

注意事項

この API は非推奨になりました。

注意事項

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.

ポリシー レベルでポリシーの評価に使用するアセンブリのリストから、指定した StrongNameMembershipCondition を持つアセンブリを削除します。

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>]
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
Public Sub RemoveFullTrustAssembly (snMC As StrongNameMembershipCondition)

パラメーター

snMC
StrongNameMembershipCondition

ポリシーの評価に使用するアセンブリのリストから削除するアセンブリの StrongNameMembershipCondition

属性

例外

snMC パラメーターが null です。

snMC パラメーターで指定された StrongNameMembershipCondition が、完全信頼を得ていません。

注釈

RemoveFullTrustAssembly完全信頼アセンブリの一覧がこれらのバージョンでは使用されていないため、.NET Frameworkのバージョン 2.0 以降では メソッドはサポートされていません。

適用対象