DefaultHttpHandler.ExecuteUrlHeaders 属性
定义
获取要随请求一起传输的请求标头和请求值的集合。Gets a collection of request headers and request values to transfer along with the request.
protected:
property System::Collections::Specialized::NameValueCollection ^ ExecuteUrlHeaders { System::Collections::Specialized::NameValueCollection ^ get(); };
protected System.Collections.Specialized.NameValueCollection ExecuteUrlHeaders { get; }
member this.ExecuteUrlHeaders : System.Collections.Specialized.NameValueCollection
Protected ReadOnly Property ExecuteUrlHeaders As NameValueCollection
属性值
包含请求标头和值的 NameValueCollection。A NameValueCollection containing request headers and values.
注解
ExecuteUrlHeaders属性将返回一个空集合,除非它在派生自类的类中填充 DefaultHttpHandler 。The ExecuteUrlHeaders property returns an empty collection unless it is populated in a class that is derived from the DefaultHttpHandler class. 添加的标头将追加到请求中的标头集合,然后再将请求传递回 (IIS) Internet Information Services。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).