protected override QueryResult GetQueryResult(Folder folder)
        {
            bool flag = SearchUtil.IsComplexClutterFilteredView(base.ViewFilter, base.ClutterFilter);

            if (base.ViewFilter == ViewFilter.TaskOverdue || flag)
            {
                ExTraceGlobals.NotificationsCallTracer.TraceDebug <string>((long)this.GetHashCode(), "MessageItemRowNotificationHandler.GetQueryResult Start. subscription {0}", base.SubscriptionId);
                QueryFilter queryFilter = flag ? SearchUtil.GetViewQueryForComplexClutterFilteredView(base.ClutterFilter, false) : SearchUtil.GetViewQueryFilter(base.ViewFilter);
                return(folder.ItemQuery(ItemQueryType.None, queryFilter, base.SortBy, this.SubscriptionProperties));
            }
            return(base.GetQueryResult(folder));
        }