WidgetErrorInfoReportedArgs Class

Definition

Provides data for the OnErrorInfoReported event which is raised when the widget host reports a widget error.

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
Inheritance
Object Platform::Object IInspectable WidgetErrorInfoReportedArgs
Attributes

Properties

ErrorJson

Gets a JSON string describing the error that triggered the error event.

WidgetContext

Gets the WidgetContext object associated with the error. This object provides information about the configuration of a widget within the widget host.

Applies to