Occurs just before ASP.NET sends content to the client.
public:
event EventHandler ^ PreSendRequestContent;
public event EventHandler PreSendRequestContent;
member this.PreSendRequestContent : EventHandler
Public Custom Event PreSendRequestContent As EventHandler
Event Type Remarks
The PreSendRequestContent event may occur multiple times.
For more information about how to handle events, see Handling and Raising Events.
Warning
Do not use PreSendRequestContent
with managed modules that implement IHttpModule
. Setting these properties can cause issues with asynchronous requests. The combination of Application Requested Routing (ARR) and websockets might lead to access violation exceptions that can cause w3wp to crash. For example, iiscore!W3_CONTEXT_BASE::GetIsLastNotification+68 in iiscore.dll has caused an access violation exception (0xC0000005).
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4