Loupe - Log - Monitor - Resolve
Loupe.Agent.AspNetCore Namespace / RoutingExtensions Class / GetRouteString Method
The current context

In This Topic
    GetRouteString Method
    In This Topic
    Gets the route as a readable string.
    Syntax
    'Declaration
     
    
    <NullableContextAttribute(1)>
    <ExtensionAttribute()>
    Public Shared Function GetRouteString( _
       ByVal httpContext As HttpContext _
    ) As String
    [NullableContext(1)]
    [Extension()]
    public static string GetRouteString( 
       HttpContext httpContext
    )

    Parameters

    httpContext
    The current context

    Return Value

    A readable string form of the route, if available; otherwise, null.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also