HttpApplication.PreSendRequestContent Event
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.
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).
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om