在WPF项目中实现异常处理类和用户定义的异常? [英] Implement Exception handling class and user defined exception in WPF Project?

查看:53
本文介绍了在WPF项目中实现异常处理类和用户定义的异常?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在WPF项目中,我想实现通用的Exception类,并用它引发传入的异常并进行处理.有人告诉我哪个是更好的选择.

谢谢,
:-)

解决方案

不了解您的要求或应用程序的表面积,任何人都能说的最好是继续努力".

I am working WPF Project i want to implement common Exception class and used it to raise incoming exception and handl it. anyone tell me which is the better option.

Thanks,
:-)

解决方案

Not knowing anything about your requirements or the surface area of your application, the best anyone can say is to "go for it".


这篇关于在WPF项目中实现异常处理类和用户定义的异常?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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