Delen via


AlarmApplicationManager.RequestAccessAsync Method

Definition

Requests permission from the user to set alarms.

public:
 static IAsyncOperation<AlarmAccessStatus> ^ RequestAccessAsync();
/// [Windows.Foundation.Metadata.Overload("RequestAccessAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<AlarmAccessStatus> RequestAccessAsync();
[Windows.Foundation.Metadata.Overload("RequestAccessAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<AlarmAccessStatus> RequestAccessAsync();
function requestAccessAsync()
Public Shared Function RequestAccessAsync () As IAsyncOperation(Of AlarmAccessStatus)

Returns

This method returns an AlarmAccessStatus value when it completes.

Attributes

Applies to