AlarmApplicationManager.RequestAccessAsync 方法

定義

要求使用者的許可權以設定警示。

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)

傳回

此方法會在完成時傳回 AlarmAccessStatus 值。

屬性

適用於