English 中文(简体)
D. 处理 EWS 轮ing政策
原标题:Dealing with EWS throttling policies

What is an effective way of dealing with EWS throttling policies?

我试图阅读我的邮箱中的每一电子邮件,并下载所有附件。 Im 碰到的问题是,交易所往往退回一个例外,即<代码>。 服务器现在无法满足这一要求。 ry。 反之,我必须打上我的极限。 在我周围进行搜捕时,可以发现,这种错误最有可能是因为我花了多少时间与化学文摘社一起工作。 滚动政策似乎是EWSPercenttimeInCAS

自2006年以来 我只能收到每 que1 000份电子邮件,我需要询问所有57 000份电子邮件。 我如何做这项工作?

Note that I m not attempting to circumvent the throttling policy. The only idea that comes to mind is to issue a Thread.Sleep(30000) statement every time I retrieve 1,000 emails (my search result limit). Not ideal however should work since fetching 1,000 items takes far less time.

This issue seems to stem from downloading attachments. The mailbox has 7,000~ attachments in total.

最佳回答

你的做法是正确的。 你们不得不降低每分钟的要求数量。 见http://blogs.msdn.com/b/mstehle/archive/

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签