Share via


ODataMessageReader.ReadPropertyAsync Method

Definition

Overloads

ReadPropertyAsync()

Asynchronously reads an ODataProperty as message payload.

ReadPropertyAsync(IEdmStructuralProperty)

Asynchronously reads an ODataProperty as message payload.

ReadPropertyAsync(IEdmTypeReference)

Asynchronously reads an ODataProperty as message payload.

ReadPropertyAsync()

Asynchronously reads an ODataProperty as message payload.

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

Returns

A task representing the asynchronous operation of reading the property.

Applies to

ReadPropertyAsync(IEdmStructuralProperty)

Asynchronously reads an ODataProperty as message payload.

public System.Threading.Tasks.Task<Microsoft.OData.ODataProperty> ReadPropertyAsync (Microsoft.OData.Edm.IEdmStructuralProperty property);
member this.ReadPropertyAsync : Microsoft.OData.Edm.IEdmStructuralProperty -> System.Threading.Tasks.Task<Microsoft.OData.ODataProperty>
Public Function ReadPropertyAsync (property As IEdmStructuralProperty) As Task(Of ODataProperty)

Parameters

property
IEdmStructuralProperty

The metadata of the property to read.

Returns

A task representing the asynchronous operation of reading the property.

Applies to

ReadPropertyAsync(IEdmTypeReference)

Asynchronously reads an ODataProperty as message payload.

public System.Threading.Tasks.Task<Microsoft.OData.ODataProperty> ReadPropertyAsync (Microsoft.OData.Edm.IEdmTypeReference expectedPropertyTypeReference);
member this.ReadPropertyAsync : Microsoft.OData.Edm.IEdmTypeReference -> System.Threading.Tasks.Task<Microsoft.OData.ODataProperty>
Public Function ReadPropertyAsync (expectedPropertyTypeReference As IEdmTypeReference) As Task(Of ODataProperty)

Parameters

expectedPropertyTypeReference
IEdmTypeReference

The expected type reference of the property to read.

Returns

A task representing the asynchronous operation of reading the property.

Applies to