OrganizationRequest Class

Definition

Contains the data needed to execute a request and the base class for all organization requests.

public ref class OrganizationRequest : System::Runtime::Serialization::IExtensibleDataObject
[System.Runtime.Serialization.DataContract(Name="OrganizationRequest", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public class OrganizationRequest : System.Runtime.Serialization.IExtensibleDataObject
[<System.Runtime.Serialization.DataContract(Name="OrganizationRequest", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type OrganizationRequest = class
    interface IExtensibleDataObject
Public Class OrganizationRequest
Implements IExtensibleDataObject
Inheritance
OrganizationRequest
Derived
Attributes
Implements

Remarks

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

You can use this class, specifying the parameter collection. However, when you use the derived class, the parameter collection is created for you.

Constructors

OrganizationRequest()

Initializes a new instance of the OrganizationRequest class.

OrganizationRequest(String)

Initializes a new instance of the OrganizationRequest class setting the request name parameter.

Properties

ExtensionData

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

Item[String]

Gets or sets the indexer for the Parameters collection.

Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

RequestId

Gets or sets the ID of the request. Optional.

RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

Applies to

See also