HttpWorkerRequest.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:
virtual IAsyncResult ^ BeginFlush(AsyncCallback ^ callback, System::Object ^ state);
public virtual IAsyncResult BeginFlush (AsyncCallback callback, object state);
abstract member BeginFlush : AsyncCallback * obj -> IAsyncResult
override this.BeginFlush : AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginFlush (callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- callback
- AsyncCallback
The method to call when a corresponding asynchronous operation completes.
- state
- Object
A user-provided object that distinguishes this particular asynchronous flush operation from other requests.
Returns
The worker request buffers the status, headers, and response body until an asynchronous flush operation is initiated. If the underlying HttpWorkerRequest object supports asynchronous flush and this method is called from an asynchronous module event or asynchronous handler, the send operation is performed asynchronously. Otherwise, the implementation performs a synchronous flush operation.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈