Share via


ODataBatchOperationResponseMessage Class

Displays a message representing an operation in a batch response.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataBatchOperationResponseMessage

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

Syntax

'Declaration
Public NotInheritable Class ODataBatchOperationResponseMessage _
    Implements IODataResponseMessageAsync, IODataResponseMessage, IODataUrlResolver
'Usage
Dim instance As ODataBatchOperationResponseMessage
public sealed class ODataBatchOperationResponseMessage : IODataResponseMessageAsync, 
    IODataResponseMessage, IODataUrlResolver
public ref class ODataBatchOperationResponseMessage sealed : IODataResponseMessageAsync, 
    IODataResponseMessage, IODataUrlResolver
[<SealedAttribute>]
type ODataBatchOperationResponseMessage =  
    class 
        interface IODataResponseMessageAsync 
        interface IODataResponseMessage 
        interface IODataUrlResolver 
    end
public final class ODataBatchOperationResponseMessage implements IODataResponseMessageAsync, IODataResponseMessage, IODataUrlResolver

The ODataBatchOperationResponseMessage type exposes the following members.

Properties

  Name Description
Public property Headers Gets an enumerable over all the headers for this message.
Public property StatusCode Gets or sets the result status code of the response message.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetHeader Returns a value of an HTTP header of this operation.
Public method GetStream Gets the stream backing for this message.
Public method GetStreamAsync Asynchronously get the stream backing for this message.
Public method GetType (Inherited from Object.)
Public method SetHeader Sets the value of an HTTP header of this operation.
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method GetDataServiceVersion Reads the DataServiceVersion header from the message and parses it. If no DataServiceVersion header is found it sets the default version to be used for reading. (Defined by ODataMessageExtensions.)
Public Extension Method PreferenceAppliedHeader Gets the ODataPreferenceHeader instance to get or set preferences on the "Preference-Applied" header of the responseMessage. (Defined by ODataMessageExtensions.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IODataUrlResolver.ResolveUrl 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.

Top

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

Reference

Microsoft.Data.OData Namespace