Freigeben über


ServiceClient<T>.WithHandler Method (ServiceClient<T>, DelegatingHandler)

 

Extends the ServiceClient with a new handler.

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

Syntax

protected virtual T WithHandler(
    ServiceClient<T> newClient,
    DelegatingHandler handler
)
protected:
virtual T WithHandler(
    ServiceClient<T>^ newClient,
    DelegatingHandler^ handler
)
abstract WithHandler : 
        newClient:ServiceClient<'T> *
        handler:DelegatingHandler -> 'T
override WithHandler : 
        newClient:ServiceClient<'T> *
        handler:DelegatingHandler -> 'T
Protected Overridable Function WithHandler (
    newClient As ServiceClient(Of T),
    handler As DelegatingHandler
) As T

Parameters

Return Value

Type: T

The extended client.

See Also

WithHandler Overload
ServiceClient<T> Class
Microsoft.WindowsAzure.Common Namespace

Return to top