GetRouteData Method

HttpRequestMessageExtensions.GetRouteData Method (HttpRequestMessage)

 

Retrieves the IHttpRouteData for the given request or null if not available.

Namespace:   System.Net.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

public static IHttpRouteData GetRouteData(
	this HttpRequestMessage request
)

Parameters

request
Type: System.Net.Http.HttpRequestMessage

The HTTP request.

Return Value

Type: System.Web.Http.Routing.IHttpRouteData

The IHttpRouteData for the given request or null if not available.

Return to top
Show:
© 2016 Microsoft