Partager via


BatchExtensions Class

Definition

Dataverse Service Client extensions for batch operations.

public static class BatchExtensions
type BatchExtensions = class
Public Module BatchExtensions
Inheritance
BatchExtensions

Methods

CreateBatchOperationRequest(ServiceClient, String, Boolean, Boolean)

Create a Batch Request for executing batch operations. This returns an ID that will be used to identify a request as a batch request vs a "normal" request.

ExecuteBatch(ServiceClient, Guid)

Begins running the Batch command.

GetBatchById(ServiceClient, Guid)

Returns a request batch by BatchID

GetBatchOperationIdRequestByName(ServiceClient, String)

Returns the batch id for a given batch name.

GetBatchRequestAtPosition(ServiceClient, Guid, Int32)

Returns the organization request at a give position

ReleaseBatchInfoById(ServiceClient, Guid)

Release a batch from the stack Once you have completed using a batch, you must release it from the system.

RetrieveBatchResponse(ServiceClient, Guid)

Executes the batch command and then parses the retrieved items into a list. If there exists a exception then the LastException would be filled with the first item that has the exception.

Applies to