WidgetErrorInfoReportedArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 OnErrorInfoReported 事件的資料,當小工具主機回報小工具錯誤時會觸發。
public ref class WidgetErrorInfoReportedArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WidgetErrorInfoReportedArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WidgetErrorInfoReportedArgs
Public NotInheritable Class WidgetErrorInfoReportedArgs
- 繼承
- 屬性
屬性
| 名稱 | Description |
|---|---|
| ErrorJson |
會取得一個 JSON 字串,描述觸發錯誤事件的錯誤。 |
| WidgetContext |
取得與錯誤相關的 WidgetContext 物件。 此物件提供關於元件在元件主機內的設定資訊。 |