I have a WS client written in C #. Is there a way to handle all exceptions in one place? Now the WS methods are executed in many places, so I have to write a lot of attempts ... to capture them all.
thanks
using
AppDomain.CurrentDomain.UnhandledException
before creating winform you need to add this line
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
svcutil.exe( Visual Studio: " " ), WCF, - (asmx). IErrorHandler. IErrorHandler.HandleError, ProvideFault .
Source: https://habr.com/ru/post/1720835/More articles:The task of presenting midnight on May 1, 1921 in the class java.util.Date - javaScrolling HTML page using javascript? - javascriptИспользование TCP для команд реального времени: алгоритм Nagle вызывает огромные задержки, что мне делать? - client-serverJQuery getJSON function - jsonPublisher Name Not Displayed in UAC - CertificateNHibernate Readonly Entities в Runtime - nhibernateBest way to manage connection strings in a project that contains both classic ASP and ASP.Net 1.1 code? - asp.netHow to use cp from stdin? - stdinDjango Testing Framework с дизайнерами для входа - они работают? Ошибка с обратным - djangophp - point for __get () and __set () magic - oopAll Articles