WidgetErrorInfoReportedArgs.ErrorJson プロパティ

定義

エラー イベントをトリガーしたエラーを説明する 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

プロパティ値

String

Platform::String

winrt::hstring

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\"}"
  ]
}

適用対象