IFriendlyUrlResolver.PreprocessRequest Method
.NET Framework 4
Provides the ability to inspect or modify the IHttpHandler that was resolved for the current request before the handler's ProcessRequest method is called.
Namespace: Microsoft.AspNet.FriendlyUrls.Resolvers
Assembly: Microsoft.AspNet.FriendlyUrls (in Microsoft.AspNet.FriendlyUrls.dll)
Syntax
'Declaration
Sub PreprocessRequest ( _
httpContext As HttpContextBase, _
httpHandler As IHttpHandler _
)
'Usage
Dim instance As IFriendlyUrlResolver
Dim httpContext As HttpContextBase
Dim httpHandler As IHttpHandler
instance.PreprocessRequest(httpContext, _
httpHandler)
void PreprocessRequest(
HttpContextBase httpContext,
IHttpHandler httpHandler
)
void PreprocessRequest(
HttpContextBase^ httpContext,
IHttpHandler^ httpHandler
)
abstract PreprocessRequest :
httpContext:HttpContextBase *
httpHandler:IHttpHandler -> unit
function PreprocessRequest(
httpContext : HttpContextBase,
httpHandler : IHttpHandler
)
Parameters
- httpContext
Type: System.Web.HttpContextBase
Information about the current request.
- httpHandler
Type: System.Web.IHttpHandler
The handler that will be invoked.