Name

ApplicationInstance

Synopsis

Context.ApplicationInstance = HttpApplication
HttpApplication = Context.ApplicationInstance

Returns or sets the current HttpApplication object.

Parameters

HttpApplication

An HttpApplication object that will receive or set the value of the ApplicationInstance property.

Notes

Generally, you do not need to use the HttpApplication object, since the properties it exposes are usually available through other objects. One exception is is when accessing all the methods that allow you to add event handlers for this request.

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.