OrganizationResponse Class

Definition

Contains the response from a request and the base class for all organization responses.

public ref class OrganizationResponse : System::Runtime::Serialization::IExtensibleDataObject
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification="This class need to be instantiated by clients and be able to derive from it.")]
[System.Runtime.Serialization.DataContract(Name="OrganizationResponse", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public class OrganizationResponse : System.Runtime.Serialization.IExtensibleDataObject
[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA9881:ClassesShouldBeSealed", Justification="This class need to be instantiated by clients and be able to derive from it.")>]
[<System.Runtime.Serialization.DataContract(Name="OrganizationResponse", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type OrganizationResponse = class
    interface IExtensibleDataObject
Public Class OrganizationResponse
Implements IExtensibleDataObject
Inheritance
OrganizationResponse
Derived
Attributes
Implements

Remarks

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

Some messages do not have a return value. In those classes the Results collection will be empty.

Constructors

OrganizationResponse()

Initializes a new instance of the OrganizationResponse class.

Properties

ExtensionData

Gets or sets the structure that contains extra data.

Item[String]

Gets an indexer for the Results collection.

ResponseName

Gets or sets the name of the response.

Results

Gets the results of the request that was performed.

Applies to

See also