我正在从Sharepoint更新excel文件中的多个工作表。
 workbookRange = await graphClient.Groups[sharedGroupID].Drive.Items[newFile.Id]
                                  .Workbook
                                  .Worksheets[worksheetInvoicePaymentSchedules]
                                  .Range(rangeInvoicePaymentSchedules)
                                  .Request()
                                  .PatchAsync(tempWorkbookRange);在我从文件中获得内容之后,excel中的工作表将使用上述代码的变体进行更新。
var invoiceFile = await graphClient.Groups[sharedGroupID].Drive.Items[newFile.Id]
    .Content.Request().GetAsync();但是在invoiceFile中生成的内容并不完整,如何强制它等到所有的PatchAsync更新完成?
https://stackoverflow.com/questions/44446368
复制相似问题