Share via


ODataBatchHttpRequestMessageExtensions Class

 

Provides extension methods for the HttpRequestMessage class.

Namespace:   System.Web.OData.Batch
Assembly:  System.Web.OData (in System.Web.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.OData.Batch.ODataBatchHttpRequestMessageExtensions

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class ODataBatchHttpRequestMessageExtensions
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ExtensionAttribute]
public ref class ODataBatchHttpRequestMessageExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type ODataBatchHttpRequestMessageExtensions = class end
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ExtensionAttribute>
Public NotInheritable Class ODataBatchHttpRequestMessageExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetODataBatchId(HttpRequestMessage)

Retrieves the Batch ID associated with the request.

System_CAPS_pubmethodSystem_CAPS_static GetODataChangeSetId(HttpRequestMessage)

Retrieves the ChangeSet ID associated with the request.

System_CAPS_pubmethodSystem_CAPS_static GetODataContentId(HttpRequestMessage)

Retrieves the Content-ID associated with the sub-request of a batch.

System_CAPS_pubmethodSystem_CAPS_static GetODataContentIdMapping(HttpRequestMessage)

Retrieves the Content-ID to Location mapping associated with the request.

System_CAPS_pubmethodSystem_CAPS_static SetODataBatchId(HttpRequestMessage, Guid)

Associates a given Batch ID with the request.

System_CAPS_pubmethodSystem_CAPS_static SetODataChangeSetId(HttpRequestMessage, Guid)

Associates a given ChangeSet ID with the request.

System_CAPS_pubmethodSystem_CAPS_static SetODataContentId(HttpRequestMessage, String)

Associates a given Content-ID with the sub-request of a batch.

System_CAPS_pubmethodSystem_CAPS_static SetODataContentIdMapping(HttpRequestMessage, IDictionary<String, String>)

Associates a given Content-ID to Location mapping with the request.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.OData.Batch Namespace

Return to top