HttpResponse.BeginFlush Method (AsyncCallback, Object)
.NET Framework (current version)
Sends the currently buffered response to the client.
Assembly: System.Web (in System.Web.dll)
Parameters
- callback
-
Type:
System.AsyncCallback
The callback object.
- state
-
Type:
System.Object
The response state.
| Exception | Condition |
|---|---|
| HttpException | The response is already completed. |
If the underlying HttpWorkerRequest object supports asynchronous flush operations and this method is called from an asynchronous module event or from an asynchronous handler, the flush operation is performed asynchronously. Otherwise, the flush operation is performed synchronously. Asynchronous flush is supported for IIS 6.0 and later.
.NET Framework
Available since 4.5
Available since 4.5
Show: