HttpResponseWrapper::AppendHeader Method (String^, String^)
.NET Framework (current version)
Adds an HTTP header to the current response.
Assembly: System.Web (in System.Web.dll)
Parameters
- name
-
Type:
System::String^
The name of the HTTP header to add to the current response.
- value
-
Type:
System::String^
The value of the header.
| Exception | Condition |
|---|---|
| HttpException | The header was appended after the HTTP headers were sent. |
.NET Framework
Available since 3.5
Available since 3.5
Show: