Skip to content

Commit 04bd48f

Browse files
authored
A correction (#4111)
* A correction * Sorry, the word was 'most'
1 parent 06f76c5 commit 04bd48f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hub/apps/desktop/modernize/desktop-to-uwp-supported-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
description: This article describes WinRT APIs that aren't supported for use in desktop apps, or that have restrictions.
33
title: Windows Runtime APIs not supported in desktop apps
4-
ms.date: 09/16/2022
4+
ms.date: 02/27/2024
55
ms.topic: article
66
keywords: windows 10, uwp
77
ms.assetid: 142b9c9b-3f7d-41b6-80da-1505de2810f9
@@ -125,7 +125,7 @@ The following classes are supported in desktop apps, except for the specified me
125125

126126
#### Methods that use the Request naming pattern
127127

128-
Methods that follow the **Request** naming pattern—such as [**AppCapability.RequestAccessAsync**](/uwp/api/windows.security.authorization.appcapabilityaccess.appcapability.requestaccessasync) and [**StoreContext.RequestPurchaseAsync**](/uwp/api/windows.services.store.storecontext.requestpurchaseasync)—aren't supported in desktop apps. Internally, these methods use the [**Windows.UI.Popups**](/uwp/api/windows.ui.popups) class. That class requires that the thread have a [**CoreWindow**](/uwp/api/Windows.UI.Core.CoreWindow) object, which isn't supported in desktop apps.
128+
Most methods that follow the **Request** naming pattern—such as [**AppCapability.RequestAccessAsync**](/uwp/api/windows.security.authorization.appcapabilityaccess.appcapability.requestaccessasync) and [**StoreContext.RequestPurchaseAsync**](/uwp/api/windows.services.store.storecontext.requestpurchaseasync)—aren't supported in desktop apps. Internally, these methods use the [**Windows.UI.Popups**](/uwp/api/windows.ui.popups) class. That class requires that the thread have a [**CoreWindow**](/uwp/api/Windows.UI.Core.CoreWindow) object, which isn't supported in desktop apps.
129129

130130
The full list of methods that follow the **Request** naming pattern is very long, and this article doesn't provide a comprehensive list of those methods.
131131

0 commit comments

Comments
 (0)