Edit

Share via


EWS Managed API reference

Applies to: EWS Managed API | Exchange Online | Exchange Server 2007 | Exchange Server 2010 | Exchange Server 2013 | Office 365

The Exchange Web Services (EWS) Managed API includes two APIs: Microsoft.Exchange.WebServices.dll and Microsoft.Exchange.WebServices.Auth.dll.

EWS Managed API namespaces

Namespace Description
Microsoft.Exchange.WebServices.Auth.Validation Contains types and methods that are used to validate user identity tokens sent from an Exchange server. The Microsoft.Exchange.WebServices.Auth.Validation namespace is applicable to clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013. This namespace is included in the Microsoft.Exchange.WebServices.Auth.dll API.
Microsoft.Exchange.WebServices.Autodiscover Contains types that are used to communicate with the Autodiscover service that is hosted by an Exchange Server. This namespace is also used to look up service connection point objects in Active Directory Doman Services (AD DS). The Autodiscover services provide configuration information to EWS clients. This enables the clients to target the appropriate service URL.

The namespace functionality can be used to target the POX Autodiscover service introduced in Microsoft Exchange Server 2007, the service connection point object lookup if the client is domain joined, or the SOAP Autodiscover endpoint introduced in Exchange Server 2010. The main type in this namespace is the AutodiscoverService class. This namespace is included in the Microsoft.Exchange.WebServices.dll API.
Microsoft.Exchange.WebServices.Data Contains types that are used to communicate with an Exchange server by means of EWS. This namespace provides the core EWS Managed API functionality. The main type in this namespace is the ExchangeService class.

See also