Partager via


DiscoveryResponse Class

Definition

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

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

Remarks

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

Constructors

DiscoveryResponse()

Initializes a new instance of the DiscoveryResponse class.

Properties

ExtensionData

Gets or sets the structure that contains extra data.

Applies to

See also