다음을 통해 공유


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 개체를 가져옵니다. 이 개체는 위젯 호스트 내에서 위젯의 구성에 대한 정보를 제공합니다.

적용 대상