private void GetSIPRegistrarBindingsCompleted(object sender, GetSIPRegistrarBindingsCompletedEventArgs e) { if (IsUnauthorised(e.Error)) { SessionExpired(); } else if (GetRegistrarBindingsComplete != null) { GetRegistrarBindingsComplete(e); } }
private void GetRegistrarBindingsComplete(GetSIPRegistrarBindingsCompletedEventArgs e) { m_sipBindingsLoaded = true; try { m_sipBindingsPanel.SetAssetListSource(e.Result); if (!m_initialLoadComplete) { Load(); } LogActivityMessage_External(MessageLevelsEnum.Info, "Bindings successfully loaded."); } catch (Exception excp) { string excpMessage = (excp.InnerException != null) ? excp.InnerException.Message : excp.Message; LogActivityMessage_External(MessageLevelsEnum.Error, "There was an error retrieving SIP bindings. " + excpMessage); } finally { m_sipBindingsPanelRefreshInProgress = false; } }
private void GetSIPRegistrarBindingsCompleted(object sender, GetSIPRegistrarBindingsCompletedEventArgs e) { if (IsUnauthorised(e.Error)) { SessionExpired(); } else if (GetRegistrarBindingsComplete != null) { GetRegistrarBindingsComplete(e); } }