Jaa


DiscoveryResponse Class

 

Applies To: Dynamics CRM 2015

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

[DataContractAttribute(Name = "DiscoveryResponse", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")]
[KnownTypeAttribute(typeof(RetrieveOrganizationsResponse))]
[KnownTypeAttribute(typeof(RetrieveUserIdByExternalIdResponse))]
[KnownTypeAttribute(typeof(RetrieveOrganizationResponse))]
public abstract class DiscoveryResponse : IExtensibleDataObject
[DataContractAttribute(Name = "DiscoveryResponse", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")]
[KnownTypeAttribute((RetrieveOrganizationsResponse^::typeid))]
[KnownTypeAttribute((RetrieveUserIdByExternalIdResponse^::typeid))]
[KnownTypeAttribute((RetrieveOrganizationResponse^::typeid))]
public ref class DiscoveryResponse abstract : IExtensibleDataObject
[<AbstractClass>]
[<DataContractAttribute(Name = "DiscoveryResponse", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")>]
[<KnownTypeAttribute(typeof(RetrieveOrganizationsResponse))>]
[<KnownTypeAttribute(typeof(RetrieveUserIdByExternalIdResponse))>]
[<KnownTypeAttribute(typeof(RetrieveOrganizationResponse))>]
type DiscoveryResponse = 
    class
        interface IExtensibleDataObject
    end
<DataContractAttribute(Name := "DiscoveryResponse", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Discovery")>
<KnownTypeAttribute(GetType(RetrieveOrganizationsResponse))>
<KnownTypeAttribute(GetType(RetrieveUserIdByExternalIdResponse))>
<KnownTypeAttribute(GetType(RetrieveOrganizationResponse))>
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

© 2016 Microsoft. All rights reserved. Copyright