ODataBatchHttpRequestMessageExtensions.SetODataContentId Method (HttpRequestMessage, String)
Associates a given Content-ID with the sub-request of a batch.
Namespace: System.Web.OData.Batch
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public static void SetODataContentId(
this HttpRequestMessage request,
string contentId
)
public:
[ExtensionAttribute]
static void SetODataContentId(
HttpRequestMessage^ request,
String^ contentId
)
static member SetODataContentId :
request:HttpRequestMessage *
contentId:string -> unit
<ExtensionAttribute>
Public Shared Sub SetODataContentId (
request As HttpRequestMessage,
contentId As String
)
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe request.
contentId
Type: System.StringThe Content-ID.
See Also
ODataBatchHttpRequestMessageExtensions Class
System.Web.OData.Batch Namespace
Return to top