TypeDescriptorPermissionFlags 枚举

定义

注意

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

定义类型描述符的权限设置。

此枚举支持其成员值的按位组合。

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

未对类型描述符设置权限标志。

RestrictedRegistrationAccess 1

可以从部分受信任的代码调用类型描述符。

适用于