StoreServicesEngagementManager.RegisterNotificationChannelAsync() | registerNotificationChannelAsync() method
Registers your app to receive targeted push notifications from Windows Dev Center.
Syntax
public:
IAsyncOperation<StoreServicesNotificationChannelRegistrationResult>^ RegisterNotificationChannelAsync()
Parameters
This method has no parameters.
Return value
Type: IAsyncOperation<StoreServicesNotificationChannelRegistrationResult>
A StoreServicesNotificationChannelRegistrationResult that represents the result of the asynchronous operation.
Remarks
To register your app to receive Windows Dev Center notifications, call this method in startup code in your app. Before you can use this method in your code, you must first install the Microsoft Store Services SDK and add a reference to the Microsoft Engagement Framework to your project.
For more guidance about how to use this method, including a code example, see Configure your app to receive Dev Center notifications.
Requirements
|
Minimum supported client |
Windows 10 |
|---|---|
|
Minimum supported server |
None supported |
|
Minimum supported phone |
Windows 10 Mobile |
|
Namespace |
|
|
Metadata |
|
See also
- Configure your app to receive Dev Center notifications
- StoreServicesEngagementManager
- RegisterNotificationChannelAsync(StoreServicesNotificationChannelParameters)