Share via


CloudHttpErrorInfo.CopyHeaders Method

Adds the HTTP message headers to the error information.

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

Usage

'Usage
Dim headers As HttpHeaders

Me.CopyHeaders(headers)

Syntax

'Declaration
Protected Sub CopyHeaders ( _
    headers As HttpHeaders _
)
protected void CopyHeaders (
    HttpHeaders headers
)
protected:
void CopyHeaders (
    HttpHeaders^ headers
)
protected void CopyHeaders (
    HttpHeaders headers
)
protected function CopyHeaders (
    headers : HttpHeaders
)

Parameters

  • headers
    The collection of HTTP headers.

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

CloudHttpErrorInfo Class
CloudHttpErrorInfo Members
Microsoft.WindowsAzure.Common Namespace