共用方式為


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

適用於