Sdílet prostřednictvím


CustomVisionPredictionClient Class

Definition

public class CustomVisionPredictionClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.CustomVisionPredictionClient>, IDisposable, Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction.ICustomVisionPredictionClient
type CustomVisionPredictionClient = class
    inherit ServiceClient<CustomVisionPredictionClient>
    interface ICustomVisionPredictionClient
    interface IDisposable
Public Class CustomVisionPredictionClient
Inherits ServiceClient(Of CustomVisionPredictionClient)
Implements ICustomVisionPredictionClient, IDisposable
Inheritance
CustomVisionPredictionClient
Implements

Constructors

CustomVisionPredictionClient(DelegatingHandler[])

Initializes a new instance of the CustomVisionPredictionClient class.

CustomVisionPredictionClient(HttpClient, Boolean)

Initializes a new instance of the CustomVisionPredictionClient class.

CustomVisionPredictionClient(HttpClientHandler, DelegatingHandler[])

Initializes a new instance of the CustomVisionPredictionClient class.

CustomVisionPredictionClient(ServiceClientCredentials, DelegatingHandler[])
CustomVisionPredictionClient(ServiceClientCredentials, HttpClient, Boolean)
CustomVisionPredictionClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

Properties

Credentials
DeserializationSettings

Gets or sets json deserialization settings.

Endpoint

Supported Cognitive Services endpoints

FirstMessageHandler (Inherited from ServiceClient<T>)
HttpClient (Inherited from ServiceClient<T>)
HttpClientHandler (Inherited from ServiceClient<T>)
HttpMessageHandlers (Inherited from ServiceClient<T>)
SerializationSettings

Gets or sets json serialization settings.

UserAgent (Inherited from ServiceClient<T>)

Methods

ClassifyImageUrlWithHttpMessagesAsync(Guid, String, ImageUrl, String, Dictionary<String,List<String>>, CancellationToken)
ClassifyImageUrlWithNoStoreWithHttpMessagesAsync(Guid, String, ImageUrl, String, Dictionary<String,List<String>>, CancellationToken)
ClassifyImageWithHttpMessagesAsync(Guid, String, Stream, String, Dictionary<String,List<String>>, CancellationToken)
ClassifyImageWithNoStoreWithHttpMessagesAsync(Guid, String, Stream, String, Dictionary<String,List<String>>, CancellationToken)
CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
DetectImageUrlWithHttpMessagesAsync(Guid, String, ImageUrl, String, Dictionary<String,List<String>>, CancellationToken)
DetectImageUrlWithNoStoreWithHttpMessagesAsync(Guid, String, ImageUrl, String, Dictionary<String,List<String>>, CancellationToken)
DetectImageWithHttpMessagesAsync(Guid, String, Stream, String, Dictionary<String,List<String>>, CancellationToken)
DetectImageWithNoStoreWithHttpMessagesAsync(Guid, String, Stream, String, Dictionary<String,List<String>>, CancellationToken)
Dispose() (Inherited from ServiceClient<T>)
Dispose(Boolean) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[]) (Inherited from ServiceClient<T>)
SetRetryPolicy(RetryPolicy) (Inherited from ServiceClient<T>)
SetUserAgent(String, String) (Inherited from ServiceClient<T>)
SetUserAgent(String) (Inherited from ServiceClient<T>)

Extension Methods

ClassifyImage(ICustomVisionPredictionClient, Guid, String, Stream, String)
ClassifyImageAsync(ICustomVisionPredictionClient, Guid, String, Stream, String, CancellationToken)
ClassifyImageUrl(ICustomVisionPredictionClient, Guid, String, ImageUrl, String)
ClassifyImageUrlAsync(ICustomVisionPredictionClient, Guid, String, ImageUrl, String, CancellationToken)
ClassifyImageUrlWithHttpMessages(ICustomVisionPredictionClient, Guid, String, ImageUrl, String, Dictionary<String,List<String>>)
ClassifyImageUrlWithNoStore(ICustomVisionPredictionClient, Guid, String, ImageUrl, String)
ClassifyImageUrlWithNoStoreAsync(ICustomVisionPredictionClient, Guid, String, ImageUrl, String, CancellationToken)
ClassifyImageUrlWithNoStoreWithHttpMessages(ICustomVisionPredictionClient, Guid, String, ImageUrl, String, Dictionary<String,List<String>>)
ClassifyImageWithHttpMessages(ICustomVisionPredictionClient, Guid, String, Stream, String, Dictionary<String,List<String>>)
ClassifyImageWithNoStore(ICustomVisionPredictionClient, Guid, String, Stream, String)
ClassifyImageWithNoStoreAsync(ICustomVisionPredictionClient, Guid, String, Stream, String, CancellationToken)
ClassifyImageWithNoStoreWithHttpMessages(ICustomVisionPredictionClient, Guid, String, Stream, String, Dictionary<String,List<String>>)
DetectImage(ICustomVisionPredictionClient, Guid, String, Stream, String)
DetectImageAsync(ICustomVisionPredictionClient, Guid, String, Stream, String, CancellationToken)
DetectImageUrl(ICustomVisionPredictionClient, Guid, String, ImageUrl, String)
DetectImageUrlAsync(ICustomVisionPredictionClient, Guid, String, ImageUrl, String, CancellationToken)
DetectImageUrlWithHttpMessages(ICustomVisionPredictionClient, Guid, String, ImageUrl, String, Dictionary<String,List<String>>)
DetectImageUrlWithNoStore(ICustomVisionPredictionClient, Guid, String, ImageUrl, String)
DetectImageUrlWithNoStoreAsync(ICustomVisionPredictionClient, Guid, String, ImageUrl, String, CancellationToken)
DetectImageUrlWithNoStoreWithHttpMessages(ICustomVisionPredictionClient, Guid, String, ImageUrl, String, Dictionary<String,List<String>>)
DetectImageWithHttpMessages(ICustomVisionPredictionClient, Guid, String, Stream, String, Dictionary<String,List<String>>)
DetectImageWithNoStore(ICustomVisionPredictionClient, Guid, String, Stream, String)
DetectImageWithNoStoreAsync(ICustomVisionPredictionClient, Guid, String, Stream, String, CancellationToken)
DetectImageWithNoStoreWithHttpMessages(ICustomVisionPredictionClient, Guid, String, Stream, String, Dictionary<String,List<String>>)

Applies to