IUnrestrictedPermission インターフェイス

定義

注意事項

Code Access Security is not supported or honored by the runtime.

アクセス許可で無制限の状態を公開できるようにします。

public interface class IUnrestrictedPermission
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public interface IUnrestrictedPermission
public interface IUnrestrictedPermission
[System.Runtime.InteropServices.ComVisible(true)]
public interface IUnrestrictedPermission
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type IUnrestrictedPermission = interface
type IUnrestrictedPermission = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IUnrestrictedPermission = interface
Public Interface IUnrestrictedPermission
派生
属性

注釈

Caution

コード アクセス セキュリティ (CAS) は、.NET Framework と .NET のすべてのバージョンで非推奨になりました。 最近のバージョンの .NET では、CAS に関連する API が使用されている場合、CAS 注釈は使用されず、エラーが発生します。 開発者は、セキュリティ タスクを実行するための代替手段を求める必要があります。

すべてのコード アクセス許可は、 IUnrestrictedPermissionを実装する必要があります。

メソッド

名前 説明
IsUnrestricted()
古い.

アクセス許可によって保護されているリソースへの無制限のアクセスが許可されているかどうかを示す値を返します。

適用対象