ODataHttpRequestMessageExtensions.SetInlineCount Method (HttpRequestMessage, Int64)
Note: This API is now obsolete.
Sets the inline count 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().TotalCount property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")]
public static void SetInlineCount(
this HttpRequestMessage request,
long inlineCount
)
public:
[ObsoleteAttribute("This method is obsolete; use the ODataProperties().TotalCount property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")]
[ExtensionAttribute]
static void SetInlineCount(
HttpRequestMessage^ request,
long long inlineCount
)
[<ObsoleteAttribute("This method is obsolete; use the ODataProperties().TotalCount property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")>]
static member SetInlineCount :
request:HttpRequestMessage *
inlineCount:int64 -> unit
<ObsoleteAttribute("This method is obsolete; use the ODataProperties().TotalCount property from the System.Web.Http.OData.Extensions or System.Web.OData.Extensions namespace.")>
<ExtensionAttribute>
Public Shared Sub SetInlineCount (
request As HttpRequestMessage,
inlineCount As Long
)
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe request.
inlineCount
Type: System.Int64The inline count to send back to the client.
See Also
ODataHttpRequestMessageExtensions Class
System.Net.Http Namespace
Return to top