dotnet / dotnet/dotnet-api-docs

Change() method can return false, but it's not documented when that can happen

Open
#11,363 0 comments 0 reactions 0 assignees View on GitHub
area-System.Threading untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Missing information

### Description

The Change() method can return false, but it's not documented when this can happen and what the developer should do in such a case. Create a timer again?
The example code doesn't check the returned value.

### Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.threading.timer.change?view=net-9.0

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Threading/Timer.xml

### Document Version Independent Id

1fb16826-e06b-e0a7-6ada-33a929afa7d7

### Platform Id

4413f3db-66c2-7066-7ad2-231583797be4

### Article author

@dotnet-bot

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.