Export (0) Print
Expand All

HttpContext.CurrentHandler Property

Note: This property is new in the .NET Framework version 2.0.

Gets the IHttpHandler object that represents the currently executing handler.

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

public:
property IHttpHandler^ CurrentHandler {
	IHttpHandler^ get ();
}
/** @property */
public IHttpHandler get_CurrentHandler ()

public function get CurrentHandler () : IHttpHandler

Property Value

An IHttpHandler that represents the currently executing handler

The currently executing handler referenced by the CurrentHandler property might be different than the handler referenced by the Handler property, if another handler was requested using the Execute method or the Transfer method. When the currently executing handler finishes processing, the previously determined handler is restored.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft