ProcessMonitor.App.Presenters.MainPresenter.ClearWatchs C# (CSharp) Метод

ClearWatchs() публичный Метод

public ClearWatchs ( ) : void
Результат void
        public void ClearWatchs()
        {
            try
            {
                if (isConnected)
                {
                    //monitorClient.ClearWatchsAsync().ContinueWith(t => Update());
                    monitorClient.ClearWatchs();
                    Update();
                }
                else
                {
                    monitor.ClearWatchs();
                    Update();
                }
            }
            catch (TimeoutException te)
            {
            #if DEBUG
                view.ShowError(te.ToString());
            #else
                view.ShowError(te.Message);
            #endif
            }
            catch (EndpointNotFoundException enfe)
            {
            #if DEBUG
                view.ShowError(enfe.ToString());
            #else
                view.ShowError(enfe.Message);
            #endif
            }
        }