Share via


ODataMessageReader.ReadValueAsync(IEdmTypeReference) Method

Definition

Asynchronously reads a single value as the message body.

public System.Threading.Tasks.Task<object> ReadValueAsync (Microsoft.OData.Edm.IEdmTypeReference expectedTypeReference);
member this.ReadValueAsync : Microsoft.OData.Edm.IEdmTypeReference -> System.Threading.Tasks.Task<obj>
Public Function ReadValueAsync (expectedTypeReference As IEdmTypeReference) As Task(Of Object)

Parameters

expectedTypeReference
IEdmTypeReference

The expected type reference for the value to be read; null if no expected type is available.

Returns

A running task representing the reading of the value.

Applies to