MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.26k stars 21.43k forks source link

ReadAsync is not part of ComputerVisionClient #63981

Closed jkatebin closed 4 years ago

jkatebin commented 4 years ago

In the code example for the function public static async Task ReadFileUrl(ComputerVisionClient client, string urlFile) you call ReadAsync, which doesn't seem to exist as per your ComputerVisionClient documentation (or the compiler)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

AnuragSharma-MSFT commented 4 years ago

@jkatebin Thank you for the feedback. We are actively investigating and will get back to you soon.

ram-msft commented 4 years ago

@jkatebin Thanks for the feedback.

@PatrickFarley Could you please update the quick-start sample as ReadAsync doesn't exist.

I could see the following batchreadfileasync to read text from the url. https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.cognitiveservices.vision.computervision.computervisionclientextensions.batchreadfileasync?view=azure-dotnet#Microsoft_Azure_CognitiveServices_Vision_ComputerVision_ComputerVisionClientExtensions_BatchReadFileAsync_Microsoft_Azure_CognitiveServices_Vision_ComputerVision_IComputerVisionClient_System_String_System_Threading_CancellationToken_

PatrickFarley commented 4 years ago

Maybe the reference docs were out of date at the time? ReadAsync

please-close