question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why does System.Diagnostic.Process#HandleCount exist?

See original GitHub issue

Steps to reproduce

$a,$b = gps $a.pstypenames

Expected behavior

System.Diagnostic.Process System.Object

Actual behavior

System.Diagnostic.Process#HandleCount System.Diagnostic.Process System.Object

Environment data

jps> $a,$b = get-process                                                                                                              
jps> $a.pstypenames                                                                                                                   
System.Diagnostics.Process#HandleCount
System.Diagnostics.Process
System.Object
jps> $PSVersionTable                                                                                                                  

Name                           Value                                                                                                 
----                           -----                                                                                                 
PSVersion                      6.0.0-alpha                                                                                           
PSEdition                      Core                                                                                                  
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                               
BuildVersion                   3.0.0.0                                                                                               
GitCommitId                    v6.0.0-alpha.8                                                                                        
CLRVersion                                                                                                                           
WSManStackVersion              3.0                                                                                                   
PSRemotingProtocolVersion      2.3                                                                                                   
SerializationVersion           1.1.0.1        

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
lzybkrcommented, Oct 20, 2016

It seems somewhat useful to know the HandleCount property was synthesized and therefore not useful, e.g. we could change the display of ProcessInfo to not show the HandleCount property at all if the typename is ProcessInfo#HandleInfo.

0reactions
iSazonovcommented, Nov 3, 2016

@SteveL-MSFT Clear! Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Process.HandleCount Property (System.Diagnostics)
A process can obtain handles to files, resources, message queues, and many other operating system objects. The operating system reclaims the memory ...
Read more >
C# - System.Diagnostics.Process does not exist
I'm having a go at coding some Cortana commands, such as to shut down my computer (for example). I'm following this tutorial here...
Read more >
Running system diagnostics
Diagnostics provide a way to examine the state and locate problems with the hardware and operating system environment.
Read more >
Revival of the "System Diagnostics" - Homepage
Surprise No 1: The System Diagnostics Home doesn't exist anymore. The first challenge was to find a way of displaying any homepages in...
Read more >
How to use the Windows 10 System Diagnostic Report ...
The neat trick with the System Diagnostic Report is that you can use it to gather troubleshooting information while the problem is occurring....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found