我正在尝试通过2.0 API从Exchange 2007下载附件,我从Ms-> https://docs.microsoft.com/en-us/outlook/add-ins/get-attachments-of-an-outlook-item#get-the-attachments-from-the-exchange-server
那里获得了这段代码。var getAttachmentsResponse = service.GetAttachments(attachmentIds.ToArray(), 空值, 新的PropertySet(BasePropertySet.FirstClassProperties, // ItemSchema.MimeContent));
但是我在编译时发现service.GetAttachments不可用的异常。有人有主意吗?