共用方式為


UnhandledError 類別

定義

表示 UnhandledErrorDetected 事件所報告之系統錯誤的錯誤資料。

public ref class UnhandledError sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class UnhandledError final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class UnhandledError
Public NotInheritable Class UnhandledError
繼承
Object Platform::Object IInspectable UnhandledError
屬性

Windows 需求

規格需求 Description
裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

名稱 Description
Handled

取得值,這個值表示是否已處理錯誤。

方法

名稱 Description
Propagate()

將基礎錯誤資訊包裝在語言特定的例外狀況中,並擲回錯誤。

適用於

另請參閱