Jaa


ODataBatchOperationRequestMessage Class

Definition

Message representing an operation in a batch request.

public sealed class ODataBatchOperationRequestMessage : Microsoft.OData.IContainerProvider, Microsoft.OData.IODataPayloadUriConverter, Microsoft.OData.IODataRequestMessageAsync
type ODataBatchOperationRequestMessage = class
    interface IODataRequestMessageAsync
    interface IODataRequestMessage
    interface IODataPayloadUriConverter
    interface IContainerProvider
Public NotInheritable Class ODataBatchOperationRequestMessage
Implements IContainerProvider, IODataPayloadUriConverter, IODataRequestMessageAsync
Inheritance
ODataBatchOperationRequestMessage
Implements

Fields

ContentId

The Content-ID for this request message.

Properties

Container

The dependency injection container to get related services.

DependsOnIds

Gets the prerequisite request or group ids.

GroupId

The Group Id for this request message. Can be null.

Headers

Gets an enumerable over all the headers for this message.

Method

Gets or Sets the HTTP method used for this request message.

Url

Gets or sets the request URL for this request message.

Methods

GetHeader(String)

Returns a value of an HTTP header of this operation.

GetStream()

Gets the stream backing for this message.

GetStreamAsync()

Asynchronously get the stream backing for this message.

SetHeader(String, String)

Sets the value of an HTTP header of this operation.

Explicit Interface Implementations

IODataPayloadUriConverter.ConvertPayloadUri(Uri, Uri)

Implements a custom URL resolution scheme.

Extension Methods

GetODataVersion(IODataRequestMessage, ODataVersion)

Reads the OData-Version header from the message and parses it. If no OData-Version header is found it sets the default version to be used for reading.

PreferHeader(IODataRequestMessage)

Gets the ODataPreferenceHeader instance to get or set preferences on the "Prefer" header of the requestMessage.

Applies to