Share via


Discovery service messages (request and response classes)

 

Applies To: Dynamics CRM 2015

The IDiscoveryService provides an Execute method to perform supported operations. This method takes a message request class as a parameter and returns a message response class. Request message class names end with "Request" and response message class names end with "Response”.

Execute message flow

DiscoveryRequest is the base class for all discovery message requests and DiscoveryResponse is the base class for all discovery message responses. Typically, you use one of the derived request and response class pairs in your application, for example: RetrieveOrganizationRequest and RetrieveOrganizationResponse.

For a list of the messages supported by the Execute method, see Messages in the discovery service.

See Also

Discover the URL for your organization with IDiscoveryService web service
Messages in the discovery service
Sample: Access the Discovery service

© 2016 Microsoft. All rights reserved. Copyright