Share via


CrmServiceClient.RetrieveBatchResponse(Guid) Method

Definition

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.

public:
 System::Collections::Generic::List<System::Collections::Generic::Dictionary<System::String ^, System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^> ^> ^ RetrieveBatchResponse(Guid batchId);
public System.Collections.Generic.List<System.Collections.Generic.Dictionary<string,System.Collections.Generic.Dictionary<string,object>>> RetrieveBatchResponse (Guid batchId);
member this.RetrieveBatchResponse : Guid -> System.Collections.Generic.List<System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, obj>>>
Public Function RetrieveBatchResponse (batchId As Guid) As List(Of Dictionary(Of String, Dictionary(Of String, Object)))

Parameters

batchId
Guid

ID of the batch to run

Returns

results which is a list of responses(type List<Dictionary<string, Dictionary<string, object>>> ) in the order of each request or null or complete failure

Applies to