AppDomain.PermissionSet プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
Code Access Security is not supported or honored by the runtime.
セキュリティで保護されたアプリケーション ドメインのアクセス許可セットを取得します。
public:
property System::Security::PermissionSet ^ PermissionSet { System::Security::PermissionSet ^ get(); };
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public System.Security.PermissionSet PermissionSet { get; }
public System.Security.PermissionSet PermissionSet { get; }
public System.Security.PermissionSet PermissionSet { [System.Security.SecurityCritical] get; }
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
member this.PermissionSet : System.Security.PermissionSet
member this.PermissionSet : System.Security.PermissionSet
[<get: System.Security.SecurityCritical>]
member this.PermissionSet : System.Security.PermissionSet
Public ReadOnly Property PermissionSet As PermissionSet
プロパティ値
セキュリティで保護されたアプリケーション ドメインのアクセス許可セット。
- 属性
注釈
Caution
コード アクセス セキュリティ (CAS) は、.NET Framework と .NET のすべてのバージョンで非推奨になりました。 最近のバージョンの .NET では、CAS に関連する API が使用されている場合、CAS 注釈は使用されず、エラーが発生します。 開発者は、セキュリティ タスクを実行するための代替手段を求める必要があります。
AppDomain.CreateDomain(String, Evidence, AppDomainSetup, PermissionSet, StrongName[]) メソッドオーバーロードを使用して作成されたサンドボックス アプリケーション ドメインには、同種のアクセス許可セットがあります。つまり、アプリケーション ドメインに読み込まれるすべての部分的に信頼されたアセンブリに同じ権限セットが付与されます。 セキュリティで保護されたアプリケーション ドメインには、必要に応じて、このアクセス許可セットから除外される厳密な名前付きアセンブリの一覧があり、代わりに完全信頼で実行されます。