Classe DiscoveryRequest

Aplica-se a: 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.

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

Sintaxe

'Declaração
<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

Comentários

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

Hierarquia de Herança

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

Segurança do Thread

Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows Server 2003 e

Plataformas de destino

Windows Vista,Windows XP

Consulte também

Referência

Membros de DiscoveryRequest
Namespace Microsoft.Xrm.Sdk.Discovery
DiscoveryResponse

Outros recursos

Discovery Service Messages (Request and Response Classes)

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