Zone クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
注意事項
Code Access Security is not supported or honored by the runtime.
ポリシー評価の証拠として、コード アセンブリのセキュリティ ゾーンを提供します。 このクラスは継承できません。
public ref class Zone sealed : System::Security::Policy::EvidenceBase, System::Security::Policy::IIdentityPermissionFactory
public ref class Zone sealed : System::Security::Policy::IIdentityPermissionFactory
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public sealed class Zone : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
[System.Serializable]
public sealed class Zone : System.Security.Policy.IIdentityPermissionFactory
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class Zone : System.Security.Policy.IIdentityPermissionFactory
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class Zone : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
public sealed class Zone : System.Security.Policy.EvidenceBase, System.Security.Policy.IIdentityPermissionFactory
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type Zone = class
inherit EvidenceBase
interface IIdentityPermissionFactory
[<System.Serializable>]
type Zone = class
interface IIdentityPermissionFactory
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type Zone = class
interface IIdentityPermissionFactory
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type Zone = class
inherit EvidenceBase
interface IIdentityPermissionFactory
type Zone = class
inherit EvidenceBase
interface IIdentityPermissionFactory
Public NotInheritable Class Zone
Inherits EvidenceBase
Implements IIdentityPermissionFactory
Public NotInheritable Class Zone
Implements IIdentityPermissionFactory
- 継承
- 継承
-
Zone
- 属性
- 実装
注釈
Caution
コード アクセス セキュリティ (CAS) は、.NET Framework と .NET のすべてのバージョンで非推奨になりました。 最近のバージョンの .NET では、CAS に関連する API が使用されている場合、CAS 注釈は使用されず、エラーが発生します。 開発者は、セキュリティ タスクを実行するための代替手段を求める必要があります。
Zone証拠が存在すると、許可セットにZoneIdentityPermissionが生成されます。 DemandのZoneIdentityPermissionがある場合、ZoneIdentityPermission証拠に対応するZoneは、要求されたアクセス許可と比較されます。
ゾーンは、 SecurityZone 列挙体によって定義されます。
コンストラクター
| 名前 | 説明 |
|---|---|
| Zone(SecurityZone) |
古い.
コード アセンブリの開始元のゾーンを使用して、 Zone クラスの新しいインスタンスを初期化します。 |
プロパティ
| 名前 | 説明 |
|---|---|
| SecurityZone |
古い.
コード アセンブリの作成元のゾーンを取得します。 |
メソッド
| 名前 | 説明 |
|---|---|
| Clone() |
古い.
現在のインスタンスのコピーである新しいオブジェクトを作成します。 |
| Clone() |
古い.
現在のインスタンスの完全なコピーである新しいオブジェクトを作成します。 (継承元 EvidenceBase) |
| Copy() |
古い.
証拠オブジェクトの同等のコピーを作成します。 |
| CreateFromUrl(String) |
古い.
指定した URL を使用して新しいゾーンを作成します。 |
| CreateIdentityPermission(Evidence) |
古い.
Zone証拠クラスの現在のインスタンスに対応する ID アクセス許可を作成します。 |
| Equals(Object) |
古い.
現在の Zone 証拠オブジェクトを指定したオブジェクトと比較して等価にします。 |
| GetHashCode() |
古い.
現在のゾーンのハッシュ コードを取得します。 |
| GetType() |
古い.
現在のインスタンスの Type を取得します。 (継承元 Object) |
| MemberwiseClone() |
古い.
現在の Objectの簡易コピーを作成します。 (継承元 Object) |
| ToString() |
古い.
現在の Zoneの文字列形式を返します。 |