[WMI]终止进程中的问题. [英] [WMI] Problem in Terminating processes.
本文介绍了[WMI]终止进程中的问题.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用WMI的Win32_Process类的Terminate方法终止所需的进程,但出现异常.我先发布代码,然后发布异常.
到目前为止,我使用的资源是:
方法1:
I am using WMI's Win32_Process class's Terminate method to terminate the required process but i am getting an exception. I'll post my code first and then the exception.
The resources i have used till now are:
Method 1:
http://www.tech-archive.net/Archive/Development/microsoft.public.win32.programmer.wmi/2004-05/0134.html
推荐答案
帖子越长,有人回复帖子的可能性就越小.将问题压缩成几行代码怎么样?您提供了两个示例...使用其中一个可行的方法?还是都失败了?
The longer the posts, the less likely someone will respond to the post. How about condensing the problem into a few lines of code? You provide two examples...use the one the works? Or do they both fail?
这篇关于[WMI]终止进程中的问题.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文