HttpConfigurationExtensionsRegisterHttpRequestMessage Method |
Note: This API is now obsolete.
Namespace:
Autofac.Integration.WebApi
Assembly:
Autofac.Integration.WebApi (in Autofac.Integration.WebApi.dll) Version: 6.0.0+03bf347ff3a78c2557675254b1a417eef4b464ec
Syntax[ObsoleteAttribute("The HttpRequestMessage must be registered using the RegisterHttpRequestMessage extension method on ContainerBuilder.",
true)]
public static void RegisterHttpRequestMessage(
this HttpConfiguration config
)
<ExtensionAttribute>
<ObsoleteAttribute("The HttpRequestMessage must be registered using the RegisterHttpRequestMessage extension method on ContainerBuilder.",
true)>
Public Shared Sub RegisterHttpRequestMessage (
config As HttpConfiguration
)
Parameters
- config
- Type: HttpConfiguration
The HTTP server configuration.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
HttpConfiguration. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Exceptions
See Also