WCF服务失败时如何显示和错误窗口? VB [英] How do I show and Error Window when WCF Service Fails? VB
本文介绍了WCF服务失败时如何显示和错误窗口? VB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我的WCF服务失败时,我想向用户显示一个窗口,告诉他们联系该服务时出错,请重试.
如何在VB中执行此操作?:〜
When my WCF service fails I would like to display a window to the user telling them there was an error contacting the service, please try again.
How do I do this in VB?:~
推荐答案
使用异常处理并检查错误代码.
Hi,
Use the exception handling and check the error code .
这篇关于WCF服务失败时如何显示和错误窗口? VB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文