Jaa


DiscoveryResponse Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

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

Inheritance Hierarchy

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

Syntax

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

Constructors

Name Description
System_CAPS_protmethod DiscoveryResponse()

Initializes a new instance of the DiscoveryResponse class.

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

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

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

DiscoveryRequest
Microsoft.Xrm.Sdk.Discovery Namespace
Discovery service messages (request and response classes)

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright