Sdílet prostřednictvím


ServiceClient<T> Class

Definition

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

Type Parameters

T
Inheritance
ServiceClient<T>
Derived
Implements

Constructors

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

Properties

FirstMessageHandler
HttpClient
HttpClientHandler
HttpMessageHandlers
UserAgent

Methods

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

Applies to