ExecuteMultipleRequest Class

Definition

Contains the data that is needed to execute one or more message requests as a single batch operation, and optionally return a collection of results.

public ref class ExecuteMultipleRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")]
public sealed class ExecuteMultipleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/xrm/2011/Contracts")>]
type ExecuteMultipleRequest = class
    inherit OrganizationRequest
Public NotInheritable Class ExecuteMultipleRequest
Inherits OrganizationRequest
Inheritance
ExecuteMultipleRequest
Attributes

Examples

The following sample shows how to execute the ExecuteMultipleRequest message.

Remarks

Usage

Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of the ExecuteMultipleResponse class.

Privileges and Access Rights

There are no specific privileges required for this request. Refer to the required privileges and access rights of each message request you add to the Requests collection. Refer to Privileges by message.

Notes for Callers

CallerId is honored for each message request. See the related topics for throttling limitations.

Constructors

ExecuteMultipleRequest()

Initializes a new instance of the ExecuteMultipleRequest.

Properties

ExtensionData

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

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters

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

(Inherited from OrganizationRequest)
RequestId

Gets or sets the ID of the request. Optional.

(Inherited from OrganizationRequest)
RequestName

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

(Inherited from OrganizationRequest)
Requests

Gets or sets the collection of message requests to execute.

Settings

Gets or sets the settings that define whether execution should continue if an error occurs and if responses for each message request processed are to be returned.

Applies to

See also