Consider the following scenario:
- You run an Exchange Web Services (EWS) application to create a MIME email message that contains a file attachment.
- In the code of the application, you specify the version of EWS for the ExchangeService object. For example:
ExchangeService esb = new ExchangeService(ExchangeVersion.Exchange2010_SP2);
System.ArgumentOutOfRangeException: index is out of range.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Article ID: 2840099 - Last Review: May 30, 2013 - Revision: 1
Microsoft Exchange Server 2010 Service Pack 3