Compartir a través de


DiscoveryRequest Class

Definition

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

public ref class DiscoveryRequest abstract : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Name="DiscoveryRequest", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Discovery")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationRequest))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationsRequest))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Discovery.RetrieveUserIdByExternalIdRequest))]
public abstract class DiscoveryRequest : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Name="DiscoveryRequest", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Discovery")>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationRequest))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Discovery.RetrieveOrganizationsRequest))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Discovery.RetrieveUserIdByExternalIdRequest))>]
type DiscoveryRequest = class
    interface IExtensibleDataObject
Public MustInherit Class DiscoveryRequest
Implements IExtensibleDataObject
Inheritance
DiscoveryRequest
Derived
Attributes
Implements

Remarks

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

Constructors

DiscoveryRequest()

Initializes a new instance of the DiscoveryRequest class.

Properties

ExtensionData

Gets or sets the structure that contains extra data. Optional.

Applies to

See also