Partager via


Classe DiscoveryResponse

S'applique à: CRM 2015 on-prem, CRM Online

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

Espace de noms: Microsoft.Xrm.Sdk.Discovery
Assembly: Microsoft.Xrm.Sdk (dans Microsoft.Xrm.Sdk.dll)

Syntaxe

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

Remarques

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

Hiérarchie d'héritage

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

Cohérence de thread

Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.

Plateformes

Plateformes de développement

Windows Vista, Windows Server 2003 et

Plateformes cibles

Windows Vista,Windows XP

Voir aussi

Référence

Membres DiscoveryResponse
Espace de noms Microsoft.Xrm.Sdk.Discovery
Classe DiscoveryRequest

Autres ressources

Discovery Service Messages (Request and Response Classes)

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