CloudExtensions.AddHandlerToPipeline 方法

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

命名空间: Microsoft.WindowsAzure.Common.Internals
程序集: Microsoft.WindowsAzure.Common(在 Microsoft.WindowsAzure.Common.dll 中)

使用

用法
Dim client As ServiceClient(Of T)
Dim handler As DelegatingHandler

CloudExtensions.AddHandlerToPipeline(client, handler)

语法

声明
<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.

参数

  • client
    The service client.
  • handler
    The handler that was added.

线程安全

此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

CloudExtensions 类
CloudExtensions 成员
Microsoft.WindowsAzure.Common.Internals 命名空间