开发者

Is it possible to isolate some controls in a separate process in WPF?

For example, in Firefox, there is a plugin-container.exe which isolates Adobe Fl开发者_StackOverflowash, Apple Quicktime or Microsoft Silverlight plugins so that when they crash, the browser does not crash.

Is it possible to achieve something similar in WPF? Like loading some user-customized controls (analogous to plugins in browser) in a separate process, and make them start their threads (like click handler etc) in that process so that when their code throws an exception, the host application doesn't crash?


Assuming I have understood your question properly I think this might be considered as a duplicate of

Create a WPF "control" that is run in an external process

The canonical term for this would be "out of process" so you will havemore success if you use this when searching for further information.

These links should get you started

Hosting WPF UI cross-thread and cross-process

Hosting Out-of-process ActiveX control in WPF

AppDomain Isolated WPF Add-Ins

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜