TypeDescriptorPermissionFlags 枚举

定义

警告:已过时

Code Access Security is not supported or honored by the runtime.", DiagnosticId="SYSLIB0003", UrlFormat="https://aka.ms/dotnet-warnings/{0}

定义类型描述符的权限设置。Defines permission settings for type descriptors.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class 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}")]
public enum TypeDescriptorPermissionFlags
[System.Flags]
[System.Serializable]
public enum TypeDescriptorPermissionFlags
[<System.Flags>]
type 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 = 
Public Enum TypeDescriptorPermissionFlags
继承
TypeDescriptorPermissionFlags
属性

字段

NoFlags 0

未对类型描述符设置权限标志。No permission flags are set on the type descriptor.

RestrictedRegistrationAccess 1

可以从部分受信任的代码调用类型描述符。The type descriptor may be called from partially trusted code.

适用于