HttpResponse.BeginFlush(AsyncCallback, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends the currently buffered response to the client.
public:
IAsyncResult ^ BeginFlush(AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginFlush (AsyncCallback callback, object state);
member this.BeginFlush : AsyncCallback * obj -> IAsyncResult
Public Function BeginFlush (callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- callback
- AsyncCallback
The callback object.
- state
- Object
The response state.
Returns
The asynchronous result object.
Exceptions
The response is already completed.
Remarks
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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應