HttpResponseMessageProperty.Headers Property


Gets the HTTP headers from the HTTP response.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public WebHeaderCollection Headers { get; }

Property Value

Type: System.Net.WebHeaderCollection

Returns a WebHeaderCollection that contains the HTTP headers in the HTTP response.

This shows how to get the HTTP headers from the HTTP response:

         WebHeaderCollection whCollection =

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top