HttpContext.PreviousHandler Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the IHttpHandler object for the parent handler.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public IHttpHandler PreviousHandler { get; }

Property Value

Type: System.Web.IHttpHandler

An IHttpHandler instance, or null if no previous handler was found.

The PreviousHandler property corresponds to the last handler before the current request was executed.

.NET Framework
Available since 2.0
Return to top
Show: