ExtendedExecutionForegroundSession.RequestExtensionAsync 方法

定义

请求扩展执行

public:
 virtual IAsyncOperation<ExtendedExecutionForegroundResult> ^ RequestExtensionAsync() = RequestExtensionAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ExtendedExecutionForegroundResult> RequestExtensionAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ExtendedExecutionForegroundResult> RequestExtensionAsync();
function requestExtensionAsync()
Public Function RequestExtensionAsync () As IAsyncOperation(Of ExtendedExecutionForegroundResult)

返回

请求的结果。

属性

Windows 要求

应用功能
extendedExecutionBackgroundAudio extendedExecutionCritical extendedExecutionUnconstrained

适用于