ExecuteTransactionRequest ExecuteTransactionRequest ExecuteTransactionRequest ExecuteTransactionRequest Class


Contains the data that is needed to execute one or more message requests in a single database transaction, and optionally return a collection of results.

public ref class ExecuteTransactionRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
public sealed class ExecuteTransactionRequest : Microsoft.Xrm.Sdk.OrganizationRequest
type ExecuteTransactionRequest = class
    inherit OrganizationRequest
Public NotInheritable Class ExecuteTransactionRequest
Inherits OrganizationRequest


Message Availability

This message works regardless whether the caller is connected to the server or offline.


Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of the ExecuteTransactionResponse 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.


ExecuteTransactionRequest() ExecuteTransactionRequest() ExecuteTransactionRequest() ExecuteTransactionRequest()

Initializes a new instance of the ExecuteTransactionRequest class.


ExtensionData ExtensionData ExtensionData ExtensionData

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

(Inherited from OrganizationRequest)
Item[String] Item[String] Item[String] Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters Parameters Parameters Parameters

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

(Inherited from OrganizationRequest)
RequestId RequestId RequestId RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName RequestName RequestName RequestName

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

(Inherited from OrganizationRequest)
Requests Requests Requests Requests

Gets or sets the collection of message requests to execute.

ReturnResponses ReturnResponses ReturnResponses ReturnResponses

Gets or sets a value indicating if responses are to be returned for each message request processed.

Applies to