dotnet / dotnet/dotnet-api-docs

Threre are issues in the class PerformanceCounter

Open
#12,667 0 comments 0 reactions 0 assignees View on GitHub
area-System.Diagnostics.PerformanceCounter needs-area-label untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Typo

### Description

For .Net Framework 3.5, the construction of PerformanceCounter need paramaters, but there is no any value which can be used in the help doc or web. Normally, PerformanceCounterCategory.GetCategories() will be throw exception "System.FormatException:'Input string was not in a correct'”, ect.

### Page URL

https://learn.microsoft.com/zh-cn/dotnet/api/system.diagnostics.performancecounter.-ctor?view=net-11.0-pp&redirectedfrom=MSDN#System_Diagnostics_PerformanceCounter__ctor

### Content source URL

https://github.com/dotnet/dotnet-api-docs-temp/blob/live/xml/System.Diagnostics/PerformanceCounter.xml

### Document Version Independent Id

debbdc3f-064d-c031-b2d6-5123b8f74314

### Platform Id

c4cd6a51-6e44-c125-526e-eb814bc51b6a

### 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.