Share via


ODataMessageReader.ReadErrorAsync Method

Definition

Asynchronously reads an ODataError as the message payload.

public System.Threading.Tasks.Task<Microsoft.OData.ODataError> ReadErrorAsync ();
member this.ReadErrorAsync : unit -> System.Threading.Tasks.Task<Microsoft.OData.ODataError>
Public Function ReadErrorAsync () As Task(Of ODataError)

Returns

A task representing the asynchronous operation of reading the error.

Applies to