Share via


IODataResponseMessageAsync Interface

 

Represents the interface for asynchronous OData response messages.

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

Syntax

public interface IODataResponseMessageAsync : IODataResponseMessage
public interface class IODataResponseMessageAsync : IODataResponseMessage
type IODataResponseMessageAsync = 
    interface
        interface IODataResponseMessage
    end
Public Interface IODataResponseMessageAsync
    Inherits IODataResponseMessage

Properties

Name Description
System_CAPS_pubproperty Headers

Gets an enumerable over all the headers for this message.(Inherited from IODataResponseMessage.)

System_CAPS_pubproperty StatusCode

Gets or sets the result status code of the response message.(Inherited from IODataResponseMessage.)

Methods

Name Description
System_CAPS_pubmethod GetHeader(String)

Returns a value of an HTTP header.(Inherited from IODataResponseMessage.)

System_CAPS_pubmethod GetStream()

Gets the stream backing for this message.(Inherited from IODataResponseMessage.)

System_CAPS_pubmethod GetStreamAsync()

Asynchronously gets the stream backing for this message.

System_CAPS_pubmethod SetHeader(String, String)

Sets the value of an HTTP header.(Inherited from IODataResponseMessage.)

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.)

See Also

Microsoft.OData.Core Namespace

Return to top