我想继续使用消息ID跟踪我的消息。 我想用消息ID数组过滤我的Outlook消息,我的Exchange服务器是Exchange2010。
是否有这样的代码;
SearchFilter.SearchFilterCollection searchFilterCollection = new SearchFilter.SearchFilterCollection(LogicalOperator.Or);
searchFilterCollection.Add(new SearchFilter.NotIn(EmailMessageSchema.InternetMessageId, new string {"1","2","3","4"}));
或
searchFilterCollection.Add(new SearchFilter.NotIn(EmailMessageSchema.InternetMessageId, new List<string>{"1","2","3","4"}));