Consuming EWS Managed API in a Library

Good Day,

I was exploring EWS Managed API and wrote a console application to consume it and understand hoe it works. I was able to establish connection with the Online Exchange Server and read the emails from Inbox. Until here it was all fine. But then I separated the code for consuming  EWS Managed API from the console app and wrote a dll named GetUnreadEmails. This dll was consumed by another dll named EmailListener. To test the functionality in EmailListner I wrote a console app. Everything runs smoothly untill my control reaches GetUnreadEmails.dll and tries to execute the following line of code:

ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);

The control is not getting returned. There is no exception and the program keeps running but there is no reply from the line of code mentioned above. I hope you will be able to guide me through this issue.

Thanks in Advance,

Regards,

Shridhar Runthala. 

July 9th, 2013 1:57am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics