WidgetErrorInfoReportedArgs クラス

定義

ウィジェット ホストがウィジェット エラーを報告したときに発生する 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
継承
Object Platform::Object IInspectable WidgetErrorInfoReportedArgs
属性

プロパティ

ErrorJson

エラー イベントをトリガーしたエラーを説明する JSON 文字列を取得します。

WidgetContext

エラーに関連付けられている WidgetContext オブジェクトを取得します。 このオブジェクトは、ウィジェット ホスト内のウィジェットの構成に関する情報を提供します。

適用対象