Επεξεργασία

Κοινή χρήση μέσω


UnvalidatedRequestValuesBase.Headers Property

Definition

When overridden in a derived class, gets the collection of HTTP headers that the client sent, without triggering ASP.NET request validation.

public:
 virtual property System::Collections::Specialized::NameValueCollection ^ Headers { System::Collections::Specialized::NameValueCollection ^ get(); };
public virtual System.Collections.Specialized.NameValueCollection Headers { get; }
member this.Headers : System.Collections.Specialized.NameValueCollection
Public Overridable ReadOnly Property Headers As NameValueCollection

Property Value

The headers from the HTTP request.

Exceptions

The property is not implemented.

Notes to Inheritors

If you override this property in a derived class, you must manually check the data for potential cross-site scripting attacks.

Applies to