Share via


ODataBatchOperationResponseMessage Class

 

Represents a message for the operation in a batch response.

Namespace:   Microsoft.OData.Core
Assembly:  Microsoft.OData.Core (in Microsoft.OData.Core.dll)

Inheritance Hierarchy

System.Object
  Microsoft.OData.Core.ODataBatchOperationResponseMessage

Syntax

public sealed class ODataBatchOperationResponseMessage : IODataResponseMessageAsync, 
    IODataResponseMessage, IODataUrlResolver
public ref class ODataBatchOperationResponseMessage sealed : IODataResponseMessageAsync, 
    IODataResponseMessage, IODataUrlResolver
[<Sealed>]
type ODataBatchOperationResponseMessage = 
    class
        interface IODataResponseMessageAsync
        interface IODataResponseMessage
        interface IODataUrlResolver
    end
Public NotInheritable Class ODataBatchOperationResponseMessage
    Implements IODataResponseMessageAsync, IODataResponseMessage,
    IODataUrlResolver

Properties

Name Description
System_CAPS_pubproperty Headers

Gets an enumerable over all the headers for this message.

System_CAPS_pubproperty StatusCode

Gets or sets the result status code of the response message.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetHeader(String)

Returns a value of an HTTP header of this operation.

System_CAPS_pubmethod GetStream()

Gets the stream backing for this message.

System_CAPS_pubmethod GetStreamAsync()

Asynchronously get the stream backing for this message.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod SetHeader(String, String)

Sets the value of an HTTP header of this operation.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Fields

Name Description
System_CAPS_pubfield ContentId

The content type associated with the response message.

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IODataUrlResolver.ResolveUrl(Uri, Uri)

Implements 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

Name Description
System_CAPS_pubmethod GetODataVersion(ODataVersion)

Overloaded. Reads the OData-Version header from the message and parses it.(Defined by ODataMessageExtensions.)

System_CAPS_pubmethod PreferenceAppliedHeader()

Gets the ODataPreferenceHeader instance to get or set preferences on the "Preference-Applied" header of the responseMessage.(Defined by ODataMessageExtensions.)

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

Microsoft.OData.Core Namespace

Return to top