Share via


ODataHttpRequestMessageExtensions.GetRoutingConventionsDataStore Method (HttpRequestMessage)

 

Note: This API is now obsolete.

Gets the data store used by IODataRoutingConventions to store any custom route data. Creates a new IDictionary<string, object> the first time it is called.

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

Syntax

[ObsoleteAttribute("This method is obsolete; use the ODataProperties().RoutingConventionsStore property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")]
public static IDictionary<string, object> GetRoutingConventionsDataStore(
    this HttpRequestMessage request
)
public:
[ObsoleteAttribute("This method is obsolete; use the ODataProperties().RoutingConventionsStore property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")]
[ExtensionAttribute]
static IDictionary<String^, Object^>^ GetRoutingConventionsDataStore(
    HttpRequestMessage^ request
)
[<ObsoleteAttribute("This method is obsolete; use the ODataProperties().RoutingConventionsStore property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")>]
static member GetRoutingConventionsDataStore : 
        request:HttpRequestMessage -> IDictionary<string, Object>
<ObsoleteAttribute("This method is obsolete; use the ODataProperties().RoutingConventionsStore property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")>
<ExtensionAttribute>
Public Shared Function GetRoutingConventionsDataStore (
    request As HttpRequestMessage
) As IDictionary(Of String, Object)

Parameters

Return Value

Type: System.Collections.Generic.IDictionary<String, Object>

The data store used by IODataRoutingConventions to store any custom route data.

See Also

ODataHttpRequestMessageExtensions Class
System.Net.Http Namespace

Return to top