Share via


IODataResponseMessageAsync Interface

Represents an interface for asynchronous OData response messages.

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

Syntax

'Declaration
Public Interface IODataResponseMessageAsync _
    Inherits IODataResponseMessage
'Usage
Dim instance As IODataResponseMessageAsync
public interface IODataResponseMessageAsync : IODataResponseMessage
public interface class IODataResponseMessageAsync : IODataResponseMessage
type IODataResponseMessageAsync =  
    interface 
        interface IODataResponseMessage 
    end
public interface IODataResponseMessageAsync extends IODataResponseMessage

The IODataResponseMessageAsync type exposes the following members.

Properties

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

Top

Methods

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

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

See Also

Reference

Microsoft.Data.OData Namespace