UserNotificationListener.RequestAccessAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Requests the user's permission to manage notifications.
public:
virtual IAsyncOperation<UserNotificationListenerAccessStatus> ^ RequestAccessAsync() = RequestAccessAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<UserNotificationListenerAccessStatus> RequestAccessAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<UserNotificationListenerAccessStatus> RequestAccessAsync();
function requestAccessAsync()
Public Function RequestAccessAsync () As IAsyncOperation(Of UserNotificationListenerAccessStatus)
Returns
A value that specifies whether the user chose to provide access to notification.
- Attributes