这是首创置业设计的一部分,使我现在想知道有一段时间了。我觉得那种反直觉的,我看不出流程之间比如调试的连接和Trace类。
This is a part of design of the BCL that kept me wondering for some time now. I find it kind of counter-intuitive, I fail to see the connection between Process and for instance the Debug and Trace classes.
推荐答案工艺类不只是重新present一个单一的过程。它有大量的关于在计算机上运行的进程的信息。这个信息可以用来发现问题或只是让你的系统状态的一般信息。
The process class doesn't just represent a single process. It has a ton of information about the running processes on the computer. This info can be used to find problems or just get general information about your system state.
您可以看到诊断命名空间的描述在这里: msdn.microsoft/en-us/library/system.diagnostics.aspx
you can see the diagnostics namespace description here: msdn.microsoft/en-us/library/system.diagnostics.aspx
和工艺类的描述在这里: msdn.microsoft/en-us/library/system.diagnostics.process.aspx
and the process class description here: msdn.microsoft/en-us/library/system.diagnostics.process.aspx
更多推荐
为什么在诊断命名空间中的Process类?
发布评论