共用方式為


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

屬性只會套用到立即目標。

備註

安全性關鍵程式代碼是任何程式碼,可保護敏感性資源,並藉由執行必要的特權提升作業,向不受信任或部分信任的程式代碼公開資源代理存取權。

適用於