ODataBatchHttpRequestMessageExtensions.GetODataContentId Method (HttpRequestMessage)
Retrieves the Content-ID associated with the sub-request of a batch.
Namespace: System.Web.OData.Batch
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public static string GetODataContentId(
this HttpRequestMessage request
)
public:
[ExtensionAttribute]
static String^ GetODataContentId(
HttpRequestMessage^ request
)
static member GetODataContentId :
request:HttpRequestMessage -> string
<ExtensionAttribute>
Public Shared Function GetODataContentId (
request As HttpRequestMessage
) As String
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe request.
Return Value
Type: System.String
The Content-ID associated with this request, or null if there isn't one.
See Also
ODataBatchHttpRequestMessageExtensions Class
System.Web.OData.Batch Namespace
Return to top