Export (0) Print
Expand All

HttpContext.PreviousHandler Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft