EWS托管API 2,设置FlagStatus

时间:2018-03-09 12:32:16

标签: exchange-server ews-managed-api

我正在尝试使用EWS托管API 2在电子邮件上设置标志 - 但是,我一直收到一个我似乎无法通过的错误。

我正在做以下事情:

combinations()

然后过了一会儿:

ExchangeService exchangeService = new ExchangeService(ExchangeVersion.Exchange2013_SP1);   
exchangeService.Url = new Uri(<ews url comes from Outlook JavaScript API>);
exchangeService.UseDefaultCredentials = false;
exchangeService.Credentials = new OAuthCredentials(<ews token comes from Outlook JavaScript API>); 

我错过了什么?

我一直收到这个错误:

  

您必须先加载或指定此属性,然后才能读取其值。

更新:好的,原来这个错误是由其他一些已经纠正的代码引起的。

现在我收到了这个错误:

  

此调用方或应用程序无法使用请求的Web方法。

0 个答案:

没有答案