Ejemplo n.º 1
0
 public static async Task <IList <WitBatchResponse> > ExecuteBatchRequest(WorkItemTrackingHttpClient targetWorkItemTrackingClient, IList <WitBatchRequest> witBatchRequests)
 {
     //we cannot add retrylogic here as we will need to reconstruct the entire content
     try
     {
         return(await targetWorkItemTrackingClient.ExecuteBatchRequest(witBatchRequests));
     }
     catch (Exception e)
     {
         Logger.LogError(LogDestination.File, $"Exception in MakeRequest {e.Message}");
         throw e;
         //we continue migration even if something failed
     }
 }