HttpContext.PreviousHandler 属性

定义

获取父处理程序的 IHttpHandler 对象。Gets the IHttpHandler object for the parent handler.

public:
 property System::Web::IHttpHandler ^ PreviousHandler { System::Web::IHttpHandler ^ get(); };
public System.Web.IHttpHandler PreviousHandler { get; }
member this.PreviousHandler : System.Web.IHttpHandler
Public ReadOnly Property PreviousHandler As IHttpHandler

属性值

IHttpHandler 实例,如果未找到上一个处理程序,则为 nullAn IHttpHandler instance, or null if no previous handler was found.

注解

在执行当前请求之前,PreviousHandler 属性对应于最后一个处理程序。The PreviousHandler property corresponds to the last handler before the current request was executed.

适用于

另请参阅