Export (0) Print
Expand All

SPHttpApplication class

Processes requests for Microsoft SharePoint Foundation pages, controls, Web services, and other resources that are associated with a particular SharePoint Foundation application on the Internet Information Server (IIS).

System.Object
  System.Web.HttpApplication
    Microsoft.SharePoint.ApplicationRuntime.SPHttpApplication

Namespace:  Microsoft.SharePoint.ApplicationRuntime
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class SPHttpApplication : HttpApplication

The SPHttpApplication class is declared in the Global.asax file at the root of the virtual directory for the SharePoint Foundation application.

Normally, SPHttpApplication objects are not created with application code. The first time a SharePoint Foundation page is requested, a SPHttpApplication object is automatically created by Microsoft ASP.NET through its handling of global.asax to process the request.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft