dotnet / dotnet/dotnet-api-docs
ServiceController constructor throws more undocumented exceptions
Open
area-System.ServiceProcess
Pri3
- Dominant language
- C#
- Stars
- 949
- Forks
- 1.7k
- Avg merge
- 3d 27m
- Merged PRs (30d)
- 49
Description
Refering to:
https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.ServiceProcess/ServiceController.xml
When passing null or empty string, we get ArgumentException which is listed in the docs but if we pass a name of service that is not exists on the machine , we get InvalidOperationException
Contributor guide
Assessment
This issue has not been assessed yet.