ODataMessageReader.ReadPropertyAsync Method

 

Asynchronously reads an ODataProperty as message payload.

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

Overload List

Name Description
System_CAPS_pubmethod ReadPropertyAsync()

Asynchronously reads an ODataProperty as message payload.

System_CAPS_pubmethod ReadPropertyAsync(IEdmStructuralProperty)

Asynchronously reads an ODataProperty as message payload.

System_CAPS_pubmethod ReadPropertyAsync(IEdmTypeReference)

Asynchronously reads an ODataProperty as message payload.

See Also

ODataMessageReader Class
Microsoft.OData.Core Namespace

Return to top

ODataMessageReader.ReadPropertyAsync Method ()

Asynchronously reads an ODataProperty as message payload.

Syntax

public Task<ODataProperty> ReadPropertyAsync()
public:
Task<ODataProperty^>^ ReadPropertyAsync()
member ReadPropertyAsync : unit -> Task<ODataProperty>
Public Function ReadPropertyAsync As Task(Of ODataProperty)

Return Value

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

A task representing the asynchronous operation of reading the property.

Return to top

ODataMessageReader.ReadPropertyAsync Method (IEdmStructuralProperty)

Asynchronously reads an ODataProperty as message payload.

Syntax

public Task<ODataProperty> ReadPropertyAsync(
    IEdmStructuralProperty property
)
public:
Task<ODataProperty^>^ ReadPropertyAsync(
    IEdmStructuralProperty^ property
)
member ReadPropertyAsync : 
        property:IEdmStructuralProperty -> Task<ODataProperty>
Public Function ReadPropertyAsync (
    property As IEdmStructuralProperty
) As Task(Of ODataProperty)

Parameters

Return Value

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

A task representing the asynchronous operation of reading the property.

Return to top

ODataMessageReader.ReadPropertyAsync Method (IEdmTypeReference)

Asynchronously reads an ODataProperty as message payload.

Syntax

public Task<ODataProperty> ReadPropertyAsync(
    IEdmTypeReference expectedPropertyTypeReference
)
public:
Task<ODataProperty^>^ ReadPropertyAsync(
    IEdmTypeReference^ expectedPropertyTypeReference
)
member ReadPropertyAsync : 
        expectedPropertyTypeReference:IEdmTypeReference -> Task<ODataProperty>
Public Function ReadPropertyAsync (
    expectedPropertyTypeReference As IEdmTypeReference
) As Task(Of ODataProperty)

Parameters

Return Value

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

A task representing the asynchronous operation of reading the property.

Return to top