UrlHelper Constructor
Initializes a new instance of the UrlHelper class.
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
request As HttpRequestMessage _
)
'Usage
Dim request As HttpRequestMessage
Dim instance As New UrlHelper(request)
public UrlHelper(
HttpRequestMessage request
)
public:
UrlHelper(
HttpRequestMessage^ request
)
new :
request:HttpRequestMessage -> UrlHelper
public function UrlHelper(
request : HttpRequestMessage
)
Parameters
request
Type: HttpRequestMessageThe HTTP request for this instance.