I am creating an application that consumes Exchange Web Services (EWS 2.0).
I am using the DeleteItems method (http://msdn.microsoft.com/en-us/library/microsoft.exchange.webservices.data.exchangeservice.deleteitems(v=exchg.80).aspx) to delete multiple email messages from an exchange mailbox.
This method takes a list of item IDs, and returns a collection of responses (ServiceResponse class), one ServiceResponse for each item ID that is passed to the method.
A returned ServiceResponse object does not contain the item ID that it is associated with.
My question is: Can I guarantee that the order of the ServiceResponse objects is the same as the order of the Item IDs that I passed to the method?
I could not find anything in MSDN that talks about the order of responses returned from EWS in such case.
Thank you