Partager via


Classe DiscoveryRequest

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

Contains the data that is needed to execute a request and the base class for all discovery service requests.

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

Syntaxe

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

Remarques

This is the base class for all discovery Web service requests. Pass an instance of a request class to the Execute method.

Hiérarchie d'héritage

System.Object
  Microsoft.Xrm.Sdk.Discovery.DiscoveryRequest
     Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationRequest
     Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationsRequest
     Microsoft.Xrm.Sdk.Discovery.RetrieveUserIdByExternalIdRequest

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 DiscoveryRequest
Espace de noms Microsoft.Xrm.Sdk.Discovery
DiscoveryResponse

Autres ressources

Discovery Service Messages (Request and Response Classes)

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