CustomVisionPredictionClientExtensions.ClassifyImageUrlAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.Models.ImagePrediction> ClassifyImageUrlAsync (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.ICustomVisionPredictionClient operations, Guid projectId, string publishedName, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.Models.ImageUrl imageUrl, string application = default, System.Threading.CancellationToken cancellationToken = default);
static member ClassifyImageUrlAsync : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.ICustomVisionPredictionClient * Guid * string * Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.Models.ImageUrl * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.Models.ImagePrediction>
<Extension()>
Public Function ClassifyImageUrlAsync (operations As ICustomVisionPredictionClient, projectId As Guid, publishedName As String, imageUrl As ImageUrl, Optional application As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ImagePrediction)
Parameters
- operations
- ICustomVisionPredictionClient
- projectId
- Guid
- publishedName
- String
- imageUrl
- ImageUrl
- application
- String
- cancellationToken
- CancellationToken
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET