WidgetErrorInfoReportedArgs.ErrorJson プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
エラー イベントをトリガーしたエラーを説明する JSON 文字列を取得します。
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
プロパティ値
JSON の文字列。
注釈
このプロパティによって返される JSON 文字列は、次の形式を使用します。
{
"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\"}"
]
}