示例#1
0
        public async Task <bool> MarkAllAsRead()
        {
            try
            {
                if (await _vidMeClient.MarkAllNotificationsAsReadAsync())
                {
                    NotificationCount = 0;
                    _notificationTask.UpdateTileCount(0, false);
                    return(true);
                }
            }
            catch (Exception ex)
            {
            }

            return(false);
        }