SecurityCriticalScope 枚举

定义

注意

SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.

指定 SecurityCriticalAttribute 的范围。

public enum class SecurityCriticalScope
[System.Obsolete("SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.")]
public enum SecurityCriticalScope
public enum SecurityCriticalScope
[<System.Obsolete("SecurityCriticalScope is only used for .NET 2.0 transparency compatibility.")>]
type SecurityCriticalScope = 
type SecurityCriticalScope = 
Public Enum SecurityCriticalScope
继承
SecurityCriticalScope
属性

字段

Everything 1

该特性应用于其后的所有代码。

Explicit 0

该特性仅应用于直接目标。

注解

安全关键代码是保护敏感资源并通过执行必要的特权提升操作向不受信任或部分受信任的代码公开对资源的中转访问的任何代码。

适用于