dotnet / dotnet/dotnet-api-docs

Async support

Open
#3,518 0 comments 0 reactions 0 assignees View on GitHub
.net/prod area-WPF Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

You should mention that it is safe for the tick event handler to be async void. I just tested in WPF, and uncaught exceptions successfully make the application crash when raised inside an async tick event handler (which is a good thing).

---
#### Dokumentoplysninger

⚠ *Undlad at redigere denne sektion. Det er påkrævet til docs.microsoft.com ➟ GitHub-problemlinkning.*

* ID: c353f963-c3e8-d3ab-e9ea-b87db467e069
* Version Independent ID: a7074ecb-175c-e52b-af93-695492664356
* Content: [DispatcherTimer.Tick Event (System.Windows.Threading)](https://docs.microsoft.com/da-dk/dotnet/api/system.windows.threading.dispatchertimer.tick?view=netframework-4.7.1)
* Content Source: [xml/System.Windows.Threading/DispatcherTimer.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Windows.Threading/DispatcherTimer.xml)
* Product: **.net**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.