问题描述
Hi,
我使用EWS 1.1从在线交换中提取数据。
I am using EWS 1.1 to pull data from exchange online.
我的程序只是在执行自动发现调用时挂起。然后导致堆栈溢出异常,因为线程一直持续到永恒。
My program just hangs while doing an auto-discover call.It then causes a stack overflow exception as the thread just keeps on going till eternity.
下面的callstack
Callstack below
Microsoft.Exchange.WebServices.Data.AutodiscoverLocalException:无法找到自动发现服务。
$
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettin gs [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices.Aut odiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)
at Microsoft.Exchange.WebServices .Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection [TSettings](String emailAddress,Uri redirectionUrl,TSettings& settings)¥
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings [TSettings](String emailAddress,List`1 redirectionEmailAddresses,Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetLegacyUserSettings [TSettings](String emailAddress)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserS ettings(String emailAddress,List`1 requestedSettings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings(String userSmtpAddress,UserSettingName [] userSettingNames)
at Microsoft。 Exchange.WebServices.Data.ExchangeService.GetAutodiscoverUrl(String emailAddress,ExchangeVersion requestedServerVersion,AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback)
at Microsoft.Exchange.WebServices.Data.ExchangeService.AutodiscoverUrl(String emailAddress,AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback)
Microsoft.Exchange.WebServices.Data.AutodiscoverLocalException: The Autodiscover service couldn't be located.
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.TryLastChanceHostRedirection[TSettings](String emailAddress, Uri redirectionUrl, TSettings& settings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings[TSettings](String emailAddress, List`1 redirectionEmailAddresses, Int32& currentHop)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetLegacyUserSettings[TSettings](String emailAddress)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.InternalGetLegacyUserSettings(String emailAddress, List`1 requestedSettings)
at Microsoft.Exchange.WebServices.Autodiscover.AutodiscoverService.GetUserSettings(String userSmtpAddress, UserSettingName[] userSettingNames)
at Microsoft.Exchange.WebServices.Data.ExchangeService.GetAutodiscoverUrl(String emailAddress, ExchangeVersion requestedServerVersion, AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback)
at Microsoft.Exchange.WebServices.Data.ExchangeService.AutodiscoverUrl(String emailAddress, AutodiscoverRedirectionUrlValidationCallback validateRedirectionUrlCallback)
推荐答案
干杯
Glen
Cheers
Glen
这篇关于在EWS Web服务调用中使用自动发现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!