Share via


ODataBatchOperationRequestMessage Class

 

Represents a message used in operatngi a batch request.

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

Inheritance Hierarchy

System.Object
  Microsoft.OData.Core.ODataBatchOperationRequestMessage

Syntax

public sealed class ODataBatchOperationRequestMessage : IODataRequestMessageAsync, 
    IODataRequestMessage, IODataUrlResolver
public ref class ODataBatchOperationRequestMessage sealed : IODataRequestMessageAsync, 
    IODataRequestMessage, IODataUrlResolver
[<Sealed>]
type ODataBatchOperationRequestMessage = 
    class
        interface IODataRequestMessageAsync
        interface IODataRequestMessage
        interface IODataUrlResolver
    end
Public NotInheritable Class ODataBatchOperationRequestMessage
    Implements IODataRequestMessageAsync, IODataRequestMessage, IODataUrlResolver

Properties

Name Description
System_CAPS_pubproperty Headers

Gets an enumerable over all the headers for this message.

System_CAPS_pubproperty Method

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

System_CAPS_pubproperty Url

Gets or sets the request URL for this request 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 gets 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 request message content type.

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod IODataUrlResolver.ResolveUrl(Uri, Uri)

Implements a custom URL resolution scheme.

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 PreferHeader()

Gets the ODataPreferenceHeader instance to get or set preferences on the "Prefer" header of the requestMessage.(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