语言

SecurityCallContext.IsSecurityEnabled 属性

定义

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

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

属性值

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

适用于