Dela via


ODataMessageReader.ReadPropertyAsync Method

Asynchronously reads an ODataProperty as message payload.

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

Syntax

'Declaration
Public Function ReadPropertyAsync As Task(Of ODataProperty)
'Usage
Dim instance As ODataMessageReader 
Dim returnValue As Task(Of ODataProperty)

returnValue = instance.ReadPropertyAsync()
public Task<ODataProperty> ReadPropertyAsync()
public:
Task<ODataProperty^>^ ReadPropertyAsync()
member ReadPropertyAsync : unit -> Task<ODataProperty> 
public function ReadPropertyAsync() : Task<ODataProperty>

Return Value

Type: System.Threading.Tasks.Task<ODataProperty>
A task representing the asynchronous operation of reading the property.

See Also

Reference

ODataMessageReader Class

ReadPropertyAsync Overload

Microsoft.Data.OData Namespace