Skip to content

Commit 80fdcb5

Browse files
Merge pull request #263100 from Naveenommi-MSFT/patch-108
(AzureCXP) fixes MicrosoftDocs/azure-docs#118746
2 parents 41bfe34 + c5daac8 commit 80fdcb5

File tree

1 file changed

+2
-2
lines changed
  • articles/ai-services/document-intelligence/quickstarts/includes

1 file changed

+2
-2
lines changed

articles/ai-services/document-intelligence/quickstarts/includes/csharp-sdk.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ DocumentIntelligenceClient client = new DocumentIntelligenceClient(new Uri(endpo
641641
642642
Uri invoiceUri = new Uri ("https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/sample-invoice.pdf");
643643

644-
AnalyzeDocumentOperation operation = await client.AnalyzeDocumentFromUriAsync(WaitUntil.Completed, "prebuilt-invoice", invoiceUri);
644+
Operation operation = await client.AnalyzeDocumentAsync(WaitUntil.Completed, "prebuilt-invoice", invoiceUri);
645645

646646
AnalyzeResult result = operation.Value;
647647

@@ -744,7 +744,7 @@ DocumentAnalysisClient client = new DocumentAnalysisClient(new Uri(endpoint), cr
744744
745745
Uri invoiceUri = new Uri ("https://raw.githubusercontent.com/Azure-Samples/cognitive-services-REST-api-samples/master/curl/form-recognizer/sample-invoice.pdf");
746746

747-
AnalyzeDocumentOperation operation = await client.AnalyzeDocumentFromUriAsync(WaitUntil.Completed, "prebuilt-invoice", invoiceUri);
747+
Operation operation = await client.AnalyzeDocumentAsync(WaitUntil.Completed, "prebuilt-invoice", invoiceUri);
748748

749749
AnalyzeResult result = operation.Value;
750750

0 commit comments

Comments
 (0)