This documentation is archived and is not being maintained.
HttpResponse.Filter Property
.NET Framework 1.1
Gets or sets a wrapping filter object used to modify the HTTP entity body before transmission.
[Visual Basic] Public Property Filter As Stream [C#] public Stream Filter {get; set;} [C++] public: __property Stream* get_Filter(); public: __property void set_Filter(Stream*); [JScript] public function get Filter() : Stream; public function set Filter(Stream);
Property Value
The Stream object that acts as the output filter.
Exceptions
| Exception Type | Condition |
|---|---|
| HttpException | Filtering is not allowed with the entity. |
Remarks
When you create a Stream object and set the Response.Filter property to the Stream object, all HTTP output sent by Response.Write passes through the filter.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpResponse Class | HttpResponse Members | System.Web Namespace
Show: