Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remarks section contradicts what the Returns specifies #10771

Open
andreikarkkanen opened this issue Dec 18, 2024 · 1 comment
Open

Remarks section contradicts what the Returns specifies #10771

andreikarkkanen opened this issue Dec 18, 2024 · 1 comment
Labels
area-WinForms Issues or PRs that relate to WinForms. Pri3 Indicates issues/PRs that are low priority untriaged New issue has not been triaged by the area owner

Comments

@andreikarkkanen
Copy link

Type of issue

Other (describe below)

Description

  1. InvokeAsync<T>(Func<CancellationToken,ValueTask<T>>, CancellationToken)
    Returns
    Task<T>
    A task representing the operation and containing the function's result of type T.
    Remarks
    Also note that the returned task is not the task associated with the callback, but a task representing the operation of marshalling the callback to the UI thread.
  2. InvokeAsync<T>(Func<T>, CancellationToken)
    Returns
    Task<T>
    A task representing the operation and containing the function's result.
    Remarks
    InvokeAsync in this case is just queuing the callback to the end of the message queue and returns immediately ...

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.control.invokeasync?view=windowsdesktop-9.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Windows.Forms/Control.xml

Document Version Independent Id

2850640d-5d07-fa58-bf8c-2db9f390cdc1

Article author

@dotnet-bot

@issues-automation issues-automation bot added the Pri3 Indicates issues/PRs that are low priority label Dec 18, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Dec 18, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-threading-tasks

@tannergooding tannergooding added area-WinForms Issues or PRs that relate to WinForms. and removed area-System.Threading.Tasks labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-WinForms Issues or PRs that relate to WinForms. Pri3 Indicates issues/PRs that are low priority untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

2 participants