Share via


ODataHttpRequestMessageExtensions.SetNextPageLink Method (HttpRequestMessage, Uri)

 

Note: This API is now obsolete.

Sets the next page link for the OData response.

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

Syntax

[ObsoleteAttribute("This method is obsolete; use the ODataProperties().NextLink property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")]
public static void SetNextPageLink(
    this HttpRequestMessage request,
    Uri nextPageLink
)
public:
[ExtensionAttribute]
[ObsoleteAttribute("This method is obsolete; use the ODataProperties().NextLink property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")]
static void SetNextPageLink(
    HttpRequestMessage^ request,
    Uri^ nextPageLink
)
[<ObsoleteAttribute("This method is obsolete; use the ODataProperties().NextLink property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")>]
static member SetNextPageLink : 
        request:HttpRequestMessage *
        nextPageLink:Uri -> unit
<ExtensionAttribute>
<ObsoleteAttribute("This method is obsolete; use the ODataProperties().NextLink property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")>
Public Shared Sub SetNextPageLink (
    request As HttpRequestMessage,
    nextPageLink As Uri
)

Parameters

  • nextPageLink
    Type: System.Uri

    The next page link to send back to the client.

See Also

ODataHttpRequestMessageExtensions Class
System.Net.Http Namespace

Return to top