开发者

why can't i find process class in my System.Diagnostics silverlight project VS 2010

开发者 https://www.devze.com 2023-01-08 05:50 出处:网络
i wanna use process.getprocess开发者_JS百科es() but it doesn\'t seem to be in my diagnostics class, why?!!!I assume by your use of the Silverlight Tag you are building a Silverlight application.Silver

i wanna use process.getprocess开发者_JS百科es() but it doesn't seem to be in my diagnostics class, why?!!!


I assume by your use of the Silverlight Tag you are building a Silverlight application. Silverlight is a sandboxed instance of the .NET CLR. As such the concept of a Process is alien to it. A Silverlight application runs in this sandbox isolated from the rest of the world and should not have access to wider concepts like Processes.

You will find that there are many things you might be familiar with from the full .NET framework which are not present in the Silverlight version for various reasons.

0

精彩评论

暂无评论...
验证码 换一张
取 消