HttpRequestMessageExtensions.CreateRequestContainer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a request container that associates with the request
.
public static IServiceProvider CreateRequestContainer (this System.Net.Http.HttpRequestMessage request, string routeName);
static member CreateRequestContainer : System.Net.Http.HttpRequestMessage * string -> IServiceProvider
<Extension()>
Public Function CreateRequestContainer (request As HttpRequestMessage, routeName As String) As IServiceProvider
Parameters
- request
- HttpRequestMessage
The request.
- routeName
- String
The name of the route.
Returns
The request container created.