HttpResponse::BeginFlush Method

.NET Framework 4.6 and 4.5

Sends the currently buffered response to the client.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public:
IAsyncResult^ BeginFlush(
	AsyncCallback^ callback, 
	Object^ state
)

Parameters

callback
Type: System::AsyncCallback

The callback object.

state
Type: System::Object

The response state.

Return Value

Type: System::IAsyncResult
The asynchronous result object.

ExceptionCondition
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

Supported in: 4.6, 4.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft