microsoft/WindowsAppSDK
在 GitHub 查看PushNotificationManager SelfContained scenarios need better error code
Open
#2,416 创建于 2022年4月18日
Status: In PRarea-Notificationsdocumentationfeature proposalgood first issue
仓库指标
- Star
- (4,628 star)
- PR 合并指标
- (PR 指标待抓取)
描述
Describe the bug
Currently, the PushNotificationManager APIs return E_FAIL if SelfContained scenario is not supported. A better HRESULT to use would be HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED).
From this conversation: https://github.com/microsoft/WindowsAppSDK/pull/2389#discussion_r851574133
Steps to reproduce the bug
In unpackaged/SelfContained environment, call into PushNotificationManager APIs and view the returned error code.
Expected behavior
No response
Screenshots
No response
NuGet package version
No response
Packaging type
No response
Windows version
No response
IDE
No response
Additional context
No response