O365 Outlook.js service.GetAttachments方法不可用Exchange 2.0 dll

时间:2018-08-04 09:38:43

标签: office365

我正在尝试通过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不可用的异常。有人有主意吗?

0 个答案:

没有答案