Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

WidgetErrorInfoReportedArgs Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
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


Feedback

Was this page helpful?