private void GetCallsCountComplete(GetCallsCountCompletedEventArgs e) { try { m_sipCallsPanel.AssetListTotal = e.Result; m_persistor.GetCallsAsync(m_sipCallsWhere, m_sipCallsPanelOffset, m_sipCallsPanelCount); } catch (Exception excp) { string excpMessage = (excp.InnerException != null) ? excp.InnerException.Message : excp.Message; LogActivityMessage_External(MessageLevelsEnum.Error, "There was an error retrieving the number of in progress calls. " + excpMessage); m_sipCallLoadInProgress = false; m_sipCallsPanelRefreshInProgress = false; } }
private void m_provisioningServiceProxy_GetCallsCountCompleted(object sender, GetCallsCountCompletedEventArgs e) { if (IsUnauthorised(e.Error)) { SessionExpired(); } else if (GetCallsCountComplete != null) { GetCallsCountComplete(e); } }