This documentation is archived and is not being maintained.
HttpResponse.Flush Method
.NET Framework 1.1
Sends all currently buffered output to the client.
[Visual Basic] Public Sub Flush() [C#] public void Flush(); [C++] public: void Flush(); [JScript] public function Flush();
Exceptions
| Exception Type | Condition |
|---|---|
| HttpException | The cache is flushed after the response has been sent. |
Remarks
Forces all currently buffered output to be sent to the client. Flush can be called multiple times during request processing.
Example
The following example flushes the buffer to the output stream.
[Visual Basic] Response.Flush() [C#] Response.Flush(); [C++] Response->Flush(); [JScript] Response.Flush()
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpResponse Class | HttpResponse Members | System.Web Namespace
Show: