Dela via


CustomVisionPredictionClientExtensions.ClassifyImageUrlAsync Method

Definition

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

projectId
Guid
publishedName
String
imageUrl
ImageUrl
application
String
cancellationToken
CancellationToken

Returns

Applies to