dotnet / dotnet/dotnet-api-docs

InvalidOperationException

Open
#1,025 0 comments 0 reactions 0 assignees View on GitHub
area-System.Diagnostics.Process dotnet-api/prod Pri2 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

It looks like GetProcessId() does not throw InvalidOperationException. For more information, see here: https://stackoverflow.com/questions/52519030/net-getprocessbyid-when-is-invalidoperationexception-thrown?noredirect=1#comment92828459_52519030

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: fb8defcd-3164-7ab1-ab54-94fd7e23a173
* Version Independent ID: d885e93c-0bd1-db84-688e-b2bac3d51366
* Content: [Process.GetProcessById Method (System.Diagnostics)](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.process.getprocessbyid?view=netframework-4.7.2#feedback)
* Content Source: [xml/System.Diagnostics/Process.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Diagnostics/Process.xml)
* Product: **dotnet-api**
* 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.