WidgetErrorInfoReportedArgs.ErrorJson Property
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.
Gets a JSON string describing the error that triggered the error event.
public:
property Platform::String ^ ErrorJson { Platform::String ^ get(); };
winrt::hstring ErrorJson();
public string ErrorJson { get; }
var string = widgetErrorInfoReportedArgs.errorJson;
Public ReadOnly Property ErrorJson As String
Property Value
A JSON string.
Remarks
The JSON string returned by this property uses the following format:
{
"host": "dashboard.microsoft.com",
"version": "1.0",
"errorKind": "cardValidation",
"didRenderCard": true,
"validationEvents": ["Too many actions defined", "Unknown element type: 'myNewType'"],
"source": [
"\"actions\":[{\"type\":\"Action.Submit\",\"title\":\"Action1\"}, {\"type\":\"Action.Submit\",\"title\":\"Action2\"}, {\"type\":\"Action.Submit\",\"title\":\"Action3\"}]",
"{\"type\":\"myNewType\",\"myProperty\":\"My Value\"}"
]
}
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