FaultDescription.HasProtectionLevel 屬性

定義

取得值,表示錯誤訊息是否指派了保護層級。

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

屬性值

Boolean

如果錯誤訊息有保護層級則為 true,否則為 false。 預設為 false

備註

HasProtectionLevel 屬性指出是否已設定 ProtectionLevelFaultDescription 屬性。

適用於