Share via


ODataBatchOperationRequestMessage Class

Displays a message representing an operation in a batch request.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataBatchOperationRequestMessage

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

Syntax

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

The ODataBatchOperationRequestMessage type exposes the following members.

Properties

  Name Description
Public property Headers Gets an enumerable over all the headers for this message.
Public property Method Gets the HTTP method used for this request message.
Public property Url Gets or sets the request URL for this request 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 PreferHeader Gets the ODataPreferenceHeader instance to get or set preferences on the "Prefer" header of the requestMessage. (Defined by ODataMessageExtensions.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IODataUrlResolver.ResolveUrl Implements a custom URL resolution scheme.

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