/// <summary> /// Loads the notification endpoints. /// </summary> /// <exception cref="System.InvalidOperationException">The Injection Property NotificationData Service has to be set.</exception> private void LoadNotificationEndpoints() { if (notificationDataServiceObj == null) { throw new InvalidOperationException("The Injection Property NotificationData Service has to be set."); } lstNotificationEndpoints = notificationDataServiceObj.LoadNotificationEndpoints(); CleanUpNotificationEndpoints(); }