Delen via


ODataBatchOperationResponseMessage Class

Definition

Message representing an operation in a batch response.

public sealed class ODataBatchOperationResponseMessage : Microsoft.OData.IContainerProvider, Microsoft.OData.IODataPayloadUriConverter, Microsoft.OData.IODataResponseMessageAsync
type ODataBatchOperationResponseMessage = class
    interface IODataResponseMessageAsync
    interface IODataResponseMessage
    interface IODataPayloadUriConverter
    interface IContainerProvider
Public NotInheritable Class ODataBatchOperationResponseMessage
Implements IContainerProvider, IODataPayloadUriConverter, IODataResponseMessageAsync
Inheritance
ODataBatchOperationResponseMessage
Implements

Fields

ContentId

The Content-ID for this response message.

Properties

Container

The dependency injection container to get related services.

GroupId

The id of the group or change set that this response message is part of.

Headers

Gets an enumerable over all the headers for this message.

StatusCode

Gets or sets the result status code of the response 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)

Method to implement a custom URL resolution scheme. This method returns null if not custom resolution is desired. If the method returns a non-null URL that value will be used without further validation.

Extension Methods

GetODataVersion(IODataResponseMessage, 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.

PreferenceAppliedHeader(IODataResponseMessage)

Gets the ODataPreferenceHeader instance to get or set preferences on the "Preference-Applied" header of the responseMessage.

Applies to