/// <summary> /// First calls the ChatProxy.Leave (ClientBase<IChat>.Leave()) /// method, and finally calls the AbortProxy() method /// </summary> public void ExitChatSession() { try { proxy.Leave(); } catch { } finally { AbortProxy(); } }
private void ExitChatSession() { try { proxy.Leave(); } catch { } finally { AbortProxyAndUpdateUI(); } }