Método CloudExtensions.AddHandlerToPipeline
Adds a handler to the end of the HTTP pipeline of the client.
Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (em Microsoft.WindowsAzure.Common.dll)
Uso
'Uso
Dim client As ServiceClient(Of T)
Dim handler As DelegatingHandler
CloudExtensions.AddHandlerToPipeline(client, handler)
Sintaxe
'Declaração
<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.
Parâmetros
- client
The service client.
- handler
The handler that was added.
Segurança de thread
Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Classe CloudExtensions
Membros CloudExtensions
Namespace Microsoft.WindowsAzure.Common.Internals