Share via


TypeDescriptorPermissionFlags 列挙型

定義

注意事項

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

型記述子のアクセス許可の設定を定義します。

この列挙体は、メンバー値のビットごとの組み合わせをサポートしています。

public enum class TypeDescriptorPermissionFlags
[System.Flags]
[System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public enum TypeDescriptorPermissionFlags
[System.Flags]
[System.Serializable]
public enum TypeDescriptorPermissionFlags
[System.Flags]
public enum TypeDescriptorPermissionFlags
[<System.Flags>]
[<System.Obsolete("Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
type TypeDescriptorPermissionFlags = 
[<System.Flags>]
[<System.Serializable>]
type TypeDescriptorPermissionFlags = 
[<System.Flags>]
type TypeDescriptorPermissionFlags = 
Public Enum TypeDescriptorPermissionFlags
継承
TypeDescriptorPermissionFlags
属性

フィールド

NoFlags 0

型記述子にアクセス許可フラグが設定されていません。

RestrictedRegistrationAccess 1

型記述子は、部分的に信頼されているコードから呼び出すことができます。

注釈

注意事項

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

適用対象