public void UpdateSocialUserGroup(XboxSocialUserGroup group, List <ulong> users)
 {
     this.userGraphs[group.LocalUser].AddUsers(users).ContinueWith(
         addUsersTask =>
     {
         SocialEvent socialEvent = new SocialEvent(SocialEventType.SocialUserGroupUpdated, group.LocalUser, users);
         this.eventQueue.Enqueue(socialEvent);
     });
 }
        public void UpdateUserGroup(XboxLiveUser user, XboxSocialUserGroup group, List <ulong> users)
        {
            if (group.SocialUserGroupType != SocialUserGroupType.UserList)
            {
                throw new ArgumentException("You can only modify the user list for a UserList type social group.");
            }

            this.userGraphs[user].AddUsers(users).ContinueWith(
                addUsersTask =>
            {
                SocialEvent socialEvent = new SocialEvent(SocialEventType.SocialUserGroupUpdated, user, users);
                this.eventQueue.Enqueue(socialEvent);
            });
        }