ODataBatchHttpRequestMessageExtensions.SetODataContentIdMapping Method (HttpRequestMessage, IDictionary<String, String>)
Associates a given Content-ID to Location mapping with the request.
Namespace: System.Web.OData.Batch
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public static void SetODataContentIdMapping(
this HttpRequestMessage request,
IDictionary<string, string> contentIdMapping
)
public:
[ExtensionAttribute]
static void SetODataContentIdMapping(
HttpRequestMessage^ request,
IDictionary<String^, String^>^ contentIdMapping
)
static member SetODataContentIdMapping :
request:HttpRequestMessage *
contentIdMapping:IDictionary<string, string> -> unit
<ExtensionAttribute>
Public Shared Sub SetODataContentIdMapping (
request As HttpRequestMessage,
contentIdMapping As IDictionary(Of String, String)
)
Parameters
request
Type: System.Net.Http.HttpRequestMessageThe request.
contentIdMapping
Type: System.Collections.Generic.IDictionary<String, String>The Content-ID to Location mapping.
See Also
ODataBatchHttpRequestMessageExtensions Class
System.Web.OData.Batch Namespace
Return to top