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

ServiceClient<T> 类

定义

public abstract class ServiceClient<T> : IDisposable where T : ServiceClient<T>
type ServiceClient<'T (requires 'T :> ServiceClient<'T>)> = class
    interface IDisposable
Public MustInherit Class ServiceClient(Of T)
Implements IDisposable

类型参数

T
继承
ServiceClient<T>
派生
实现

构造函数

ServiceClient<T>()
ServiceClient<T>(DelegatingHandler[])
ServiceClient<T>(HttpClient, Boolean)
ServiceClient<T>(HttpClientHandler, DelegatingHandler[])

属性

FirstMessageHandler
HttpClient
HttpClientHandler
HttpMessageHandlers
UserAgent

方法

CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[])
CreateRootHandler()
Dispose()
Dispose(Boolean)
InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[])
InitializeHttpClient(HttpClientHandler, DelegatingHandler[])
SetRetryPolicy(RetryPolicy)
SetUserAgent(String)
SetUserAgent(String, String)

适用于