Share via


CloudExtensions.AddHandlerToPipeline<T> Method (ServiceClient<T>, DelegatingHandler)

 

Adds a handler to the end of the HTTP pipeline of the client.

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

Syntax

public static void AddHandlerToPipeline<T>(
    this ServiceClient<T> client,
    DelegatingHandler handler
)
where T : ServiceClient<T>
public:
generic<typename T>
where T : ServiceClient<T>
[ExtensionAttribute]
static void AddHandlerToPipeline(
    ServiceClient<T>^ client,
    DelegatingHandler^ handler
)
static member AddHandlerToPipeline<'T when 'T : ServiceClient<'T>> : 
        client:ServiceClient<'T> *
        handler:DelegatingHandler -> unit
<ExtensionAttribute>
Public Shared Sub AddHandlerToPipeline(Of T As ServiceClient(Of T)) (
    client As ServiceClient(Of T),
    handler As DelegatingHandler
)

Parameters

Type Parameters

  • T
    Type of service client.

See Also

CloudExtensions Class
Microsoft.WindowsAzure.Common.Internals Namespace

Return to top