CloudExtensions.AddHandlerToPipeline Method
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)
Usage
'Usage
Dim client As ServiceClient(Of T)
Dim handler As DelegatingHandler
CloudExtensions.AddHandlerToPipeline(client, handler)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Sub AddHandlerToPipeline(Of T As ServiceClient(Of T)) ( _
client As ServiceClient(Of T), _
handler As DelegatingHandler _
)
[ExtensionAttribute]
public static void AddHandlerToPipeline<T> (
ServiceClient<T> client,
DelegatingHandler handler
) where T : ServiceClient<T>
[ExtensionAttribute]
public:
generic<typename T> where T : ServiceClient<T>
static void AddHandlerToPipeline (
ServiceClient<T>^ client,
DelegatingHandler^ handler
)
GenericParameters
- T
Type of service client.
Parameters
- client
The service client.
- handler
The handler that was added.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
CloudExtensions Class
CloudExtensions Members
Microsoft.WindowsAzure.Common.Internals Namespace