ServiceClient<'T> Class

 

Represents the base ServiceClient class.

Namespace:   Microsoft.WindowsAzure.Common
Assembly:  Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)


[<AbstractClass>]
type ServiceClient<'T when 'T : ServiceClient<'T>> = 
    class
        interface IDisposable
    end

Type Parameters

T

The type of ServiceClient.

NameDescription
System_CAPS_pubmethodServiceClient<'T>()

Initializes a new instance of the ServiceClient<'T> class.

System_CAPS_pubmethodServiceClient<'T>(HttpClient)

Initializes a new instance of the ServiceClient class.

NameDescription
System_CAPS_pubpropertyHttpClient

Gets the HttpClient that is used for making HTTP requests.

System_CAPS_protpropertyHttpMessageHandler

Gets a reference to an HTTP handler.

System_CAPS_pubpropertyUserAgent

Gets the UserAgent collection. This collection can be modified with custom user agent strings.

NameDescription
System_CAPS_protmethodClone(ServiceClient<'T>)

Clones the service client.

System_CAPS_pubmethodDispose()

Releases the resources that are used by the current instance of the ServiceClient<'T> class.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodInitializeHttpClient(HttpMessageHandler)

Initializes HttpClient.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodWithHandler(DelegatingHandler)

System_CAPS_protmethodWithHandler(ServiceClient<'T>, DelegatingHandler)

Extends the ServiceClient with a new handler.

System_CAPS_pubmethodWithHandlers(IEnumerable<DelegatingHandler>)

NameDescription
System_CAPS_pubmethodAddHandlerToPipeline<'T>(DelegatingHandler)

Adds a handler to the end of the HTTP pipeline of the client.(Defined by CloudExtensions.)

System_CAPS_pubmethodGetAssemblyVersion<'T>()

Gets the assembly version of a service client.(Defined by CloudExtensions.)

System_CAPS_pubmethodGetHttpPipeline<'T>()

Overloaded. Gets the HTTP pipeline for the specified service client.(Defined by CloudExtensions.)

System_CAPS_pubmethodSetRetryPolicy<'T>(RetryPolicy)

Sets retry policy for the client.(Defined by CloudExtensions.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: