Share via


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

See Also

Reference

IFriendlyUrlResolver Interface

Microsoft.AspNet.FriendlyUrls.Resolvers Namespace