为什么在诊断命名空间中的Process类? [英] Why is the Process class in the Diagnostics namespace?

查看:208
本文介绍了为什么在诊断命名空间中的Process类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是首创置业设计的一部分,使我现在想知道有一段时间了。我觉得那种反直觉的,我看不出流程之间比如调试的连接和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.

您可以看到诊断命名空间的描述在这里: <一href="http://msdn.microsoft.com/en-us/library/system.diagnostics.aspx">http://msdn.microsoft.com/en-us/library/system.diagnostics.aspx

you can see the diagnostics namespace description here: http://msdn.microsoft.com/en-us/library/system.diagnostics.aspx

和工艺类的描述在这里: <一href="http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx">http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx

and the process class description here: http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx

这篇关于为什么在诊断命名空间中的Process类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆