Share via


DiscoveryResponse Class

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Contains the response from the request and is the base class for all discovery service responses.

Namespace: Microsoft.Xrm.Sdk.Discovery
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

'Declaration
<DataContractAttribute(Name:="DiscoveryResponse", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")> _
<KnownTypeAttribute(GetType(RetrieveUserIdByExternalIdResponse))> _
<KnownTypeAttribute(GetType(RetrieveOrganizationResponse))> _
<KnownTypeAttribute(GetType(RetrieveOrganizationsResponse))> _
Public MustInherit Class DiscoveryResponse
    Implements IExtensibleDataObject
[DataContractAttribute(Name="DiscoveryResponse", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")] 
[KnownTypeAttribute(typeof(RetrieveUserIdByExternalIdResponse))] 
[KnownTypeAttribute(typeof(RetrieveOrganizationResponse))] 
[KnownTypeAttribute(typeof(RetrieveOrganizationsResponse))] 
public abstract class DiscoveryResponse : IExtensibleDataObject

Remarks

This is the base class for all discovery Web service responses. An instance of a response class is returned from the Execute method.

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Discovery.DiscoveryResponse
     Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationResponse
     Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationsResponse
     Microsoft.Xrm.Sdk.Discovery.RetrieveUserIdByExternalIdResponse

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

See Also

Reference

DiscoveryResponse Members
Microsoft.Xrm.Sdk.Discovery Namespace
DiscoveryRequest Class

Other Resources

Discovery Service Messages (Request and Response Classes)

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.