private void GetSIPBindings(int offset, int count) { if (!m_sipBindingsPanelRefreshInProgress) { m_sipBindingsPanelRefreshInProgress = true; m_riaContext.SIPRegistrarBindings.Clear(); var query = m_riaContext.GetSIPRegistrarBindingsQuery().OrderBy(x => x.SIPAccountName).Skip(offset).Take(count); query.IncludeTotalCount = true; m_riaContext.Load(query, LoadBehavior.RefreshCurrent, SIRegistrarBindingsLoaded, null); } else { LogActivityMessage_External(MessageLevelsEnum.Warn, "A SIP bindings refresh is already in progress."); } }