DefaultHttpHandler.ExecuteUrlHeaders Property


Gets a collection of request headers and request values to transfer along with the request.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

protected NameValueCollection ExecuteUrlHeaders { get; }

Property Value

Type: System.Collections.Specialized.NameValueCollection

A NameValueCollection containing request headers and values.

The ExecuteUrlHeaders property returns an empty collection unless it is populated in a class that is derived from the DefaultHttpHandler class. The headers that are added are appended to the collection of headers in the request before passing the request back to Internet Information Services (IIS).

.NET Framework
Available since 2.0
Return to top