SecurityCallContext.IsSecurityEnabled 属性

定义

确定是否在当前上下文中启用安全检查。

public:
 property bool IsSecurityEnabled { bool get(); };
public bool IsSecurityEnabled { get; }
member this.IsSecurityEnabled : bool
Public ReadOnly Property IsSecurityEnabled As Boolean

属性值

如果在当前上下文中启用安全检查,则为 true;否则为 false

适用于