FriendlyUrlResolver.PreprocessRequest Method
.NET Framework 4.5
Called after a friendly URL is resolved to an HTTP handler but before the handler is executed.
Namespace: Microsoft.AspNet.FriendlyUrls.Resolvers
Assembly: Microsoft.AspNet.FriendlyUrls (in Microsoft.AspNet.FriendlyUrls.dll)
Syntax
'Declaration
Public Overridable Sub PreprocessRequest ( _
httpContext As HttpContextBase, _
httpHandler As IHttpHandler _
)
'Usage
Dim instance As FriendlyUrlResolver
Dim httpContext As HttpContextBase
Dim httpHandler As IHttpHandler
instance.PreprocessRequest(httpContext, _
httpHandler)
public virtual void PreprocessRequest(
HttpContextBase httpContext,
IHttpHandler httpHandler
)
public:
virtual void PreprocessRequest(
HttpContextBase^ httpContext,
IHttpHandler^ httpHandler
)
abstract PreprocessRequest :
httpContext:HttpContextBase *
httpHandler:IHttpHandler -> unit
override PreprocessRequest :
httpContext:HttpContextBase *
httpHandler:IHttpHandler -> unit
public function PreprocessRequest(
httpContext : HttpContextBase,
httpHandler : IHttpHandler
)
Parameters
- httpContext
Type: System.Web.HttpContextBase
The current HttpContext.
- httpHandler
Type: System.Web.IHttpHandler
The HTTP handler.
Implements
IFriendlyUrlResolver.PreprocessRequest(HttpContextBase, IHttpHandler)