ODataMessageReader.ReadValueAsync(IEdmTypeReference) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.