Skip to content

Commit 069ef82

Browse files
authored
Clarify that one API isn't experimental (#1999)
1 parent c8b625a commit 069ef82

File tree

1 file changed

+2
-2
lines changed
  • dotnet-desktop-guide/net/winforms/whats-new

1 file changed

+2
-2
lines changed

dotnet-desktop-guide/net/winforms/whats-new/net90.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This article describes what's new in Windows Forms for .NET 9.
1313
## Async forms
1414

1515
> [!IMPORTANT]
16-
> This feature set is experimental.
16+
> This feature set is experimental, except for `Control.InvokeAsync`.
1717
1818
Modern apps require asynchronous communication models. As Windows Forms has grown on .NET, more components require marshaling to an `async` method to run on the UI-thread. For example, controls like [WebView2](/microsoft-edge/webview2/), native Windows 10 and Windows 11 APIs, or modern asynchronous libraries like [Semantic Kernel](/semantic-kernel/overview/). Another scenario would be where you're sharing MVVM ViewModels built around `async` with Windows Forms from other UI stacks such as WPF, WinUI, or .NET MAUI.
1919

@@ -22,7 +22,7 @@ The following a list of new methods added to support asynchronous scenarios:
2222
- [System.Windows.Forms.Form.ShowAsync](xref:System.Windows.Forms.Form.ShowAsync(System.Windows.Forms.IWin32Window)?displayProperty=nameWithType)
2323
- <xref:System.Windows.Forms.Form.ShowDialogAsync*?displayProperty=nameWithType>
2424
- <xref:System.Windows.Forms.TaskDialog.ShowDialogAsync*?displayProperty=nameWithType>
25-
- <xref:System.Windows.Forms.Control.InvokeAsync*?displayProperty=nameWithType> (This API isn't experimental.)
25+
- <xref:System.Windows.Forms.Control.InvokeAsync*?displayProperty=nameWithType> **(This API isn't experimental.)**
2626

2727
This API is guarded behind a compiler error because it's experimental. To suppress the error and enable access to the API, add the following `PropertyGroup` to your project file:
2828

0 commit comments

Comments
 (0)