/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/previewpane/MarkdownPreviewHandler/Telemetry/Events/MarkdownFilePreviewError.cs
25 строк
956 B
Yu Leng
[AOT] Fix issues when we want to log some telemetry in AOT version (#40148)
20 июн 2025, 09:10
Не верифицирован
20 июн 2025, 09:10
250be2d
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Diagnostics.CodeAnalysis; using Microsoft.PowerToys.Telemetry; using Microsoft.PowerToys.Telemetry.Events; namespace Microsoft.PowerToys.PreviewHandler.Markdown.Telemetry.Events { /// <summary> /// A telemetry event that is triggered when an error occurs while attempting to view a markdown file in the preview pane. /// </summary> [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicProperties)] public class MarkdownFilePreviewError : EventBase, IEvent { /// <summary> /// Gets or sets the error message. /// </summary> public string Message { get; set; } /// <inheritdoc/> public PartA_PrivTags PartA_PrivTags => PartA_PrivTags.ProductAndServicePerformance; } }