WCF处理异常的方式
摘要:public static class WcfExtensions{ public static void Using<T>(this T client, Action<T> work) where T : ICommunicationObject { try { work(client); client.Close(); } catch (CommunicationException e) { client.Abort(); ...
阅读全文
posted @ 2013-06-16 13:15
浙公网安备 33010602011771号