次の方法で共有


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

See Also

ODataBatchHttpRequestMessageExtensions Class
System.Web.OData.Batch Namespace

Return to top