PolicyLevel.RemoveFullTrustAssembly メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ポリシー レベルがポリシーの評価に使用するアセンブリの一覧からアセンブリを削除します。
オーバーロード
| 名前 | 説明 |
|---|---|
| RemoveFullTrustAssembly(StrongName) |
古い.
古い.
ポリシー レベルがポリシーの評価に使用するアセンブリの一覧から、指定した StrongName を持つアセンブリを削除します。 |
| RemoveFullTrustAssembly(StrongNameMembershipCondition) |
古い.
古い.
ポリシー レベルがポリシーの評価に使用するアセンブリの一覧から、指定した StrongNameMembershipCondition を持つアセンブリを削除します。 |
RemoveFullTrustAssembly(StrongName)
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
注意事項
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.
注意事項
この API は非推奨になりました。
ポリシー レベルがポリシーの評価に使用するアセンブリの一覧から、指定した StrongName を持つアセンブリを削除します。
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)
パラメーター
- sn
- StrongName
ポリシーの評価に使用するアセンブリの一覧から削除するアセンブリの StrongName 。
- 属性
例外
sn パラメーターはnull。
StrongName パラメーターで指定されたsnを持つアセンブリには、完全な信頼がありません。
注釈
RemoveFullTrustAssembly メソッドは、.NET Framework のバージョン 2.0 以降ではサポートされていません。これらのバージョンでは完全信頼アセンブリの一覧が使用されていないためです。
適用対象
RemoveFullTrustAssembly(StrongNameMembershipCondition)
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
- ソース:
- PolicyLevel.cs
注意事項
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.
注意事項
この API は非推奨になりました。
ポリシー レベルがポリシーの評価に使用するアセンブリの一覧から、指定した StrongNameMembershipCondition を持つアセンブリを削除します。
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)
パラメーター
ポリシーの評価に使用するアセンブリの一覧から削除するアセンブリの StrongNameMembershipCondition 。
- 属性
例外
snMC パラメーターはnull。
StrongNameMembershipCondition パラメーターで指定されたsnMCには、完全な信頼がありません。
注釈
RemoveFullTrustAssembly メソッドは、.NET Framework のバージョン 2.0 以降ではサポートされていません。これらのバージョンでは完全信頼アセンブリの一覧が使用されていないためです。