ODataMessageReader.ReadErrorAsync Method ()

 

Asynchronously reads an ODataError as the message payload.

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

Syntax

public Task<ODataError> ReadErrorAsync()
public:
Task<ODataError^>^ ReadErrorAsync()
member ReadErrorAsync : unit -> Task<ODataError>
Public Function ReadErrorAsync As Task(Of ODataError)

Return Value

Type: System.Threading.Tasks.Task<ODataError>

A task representing the asynchronous operation of reading the error.

See Also

ODataMessageReader Class
Microsoft.OData.Core Namespace

Return to top