FaultDescription.HasProtectionLevel 属性    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取指示错误消息是否已分配保护级别的值。
public:
 property bool HasProtectionLevel { bool get(); };public bool HasProtectionLevel { get; }member this.HasProtectionLevel : boolPublic ReadOnly Property HasProtectionLevel As Boolean属性值
如果错误消息具有保护级别,则为 true;否则为 false。 默认值为 false。
注解
HasProtectionLevel 属性指示是否已为 ProtectionLevel 设置了 FaultDescription 属性。