IWidgetProviderErrors Interface

Definition

This interface is implemented by Windows widget providers to receive callbacks from the widget host for widget errors.

public interface class IWidgetProviderErrors
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(2428614128, 3386, 19142, 171, 183, 201, 123, 54, 123, 143, 204)]
struct IWidgetProviderErrors
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 131072)]
[Windows.Foundation.Metadata.Guid(2428614128, 3386, 19142, 171, 183, 201, 123, 54, 123, 143, 204)]
public interface IWidgetProviderErrors
Public Interface IWidgetProviderErrors
Attributes

Remarks

The Windows Widgets Board supports the widget error reporting APIs starting with Windows 11, Build 26900.

Methods

OnErrorInfoReported(WidgetErrorInfoReportedArgs)

Raised when the widget host reports a widget error.

Applies to