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
- 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for