你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CustomVisionPredictionClient 类

定义

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
继承
CustomVisionPredictionClient
实现

构造函数

CustomVisionPredictionClient(DelegatingHandler[])

初始化 CustomVisionPredictionClient 类的新实例。

CustomVisionPredictionClient(HttpClient, Boolean)

初始化 CustomVisionPredictionClient 类的新实例。

CustomVisionPredictionClient(HttpClientHandler, DelegatingHandler[])

初始化 CustomVisionPredictionClient 类的新实例。

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

属性

Credentials
DeserializationSettings

获取或设置 json 反序列化设置。

Endpoint

支持的认知服务终结点

FirstMessageHandler (继承自 ServiceClient<T>)
HttpClient (继承自 ServiceClient<T>)
HttpClientHandler (继承自 ServiceClient<T>)
HttpMessageHandlers (继承自 ServiceClient<T>)
SerializationSettings

获取或设置 json 序列化设置。

UserAgent (继承自 ServiceClient<T>)

方法

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[]) (继承自 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() (继承自 ServiceClient<T>)
Dispose(Boolean) (继承自 ServiceClient<T>)
InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[]) (继承自 ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[]) (继承自 ServiceClient<T>)
SetRetryPolicy(RetryPolicy) (继承自 ServiceClient<T>)
SetUserAgent(String) (继承自 ServiceClient<T>)
SetUserAgent(String, String) (继承自 ServiceClient<T>)

扩展方法

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>>)

适用于