Skip to content

PushNotificationManager SelfContained scenarios need better error code #2416

@pmpurifoy

Description

@pmpurifoy

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:
#2389 (comment)

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

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions