ODataMessageReader.ReadEntityReferenceLinksAsync Method (IEdmNavigationProperty)

Asynchronously reads the result of a $links query as the message payload.

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

Syntax

'Declaration
Public Function ReadEntityReferenceLinksAsync ( _
    navigationProperty As IEdmNavigationProperty _
) As Task(Of ODataEntityReferenceLinks)
'Usage
Dim instance As ODataMessageReader 
Dim navigationProperty As IEdmNavigationProperty 
Dim returnValue As Task(Of ODataEntityReferenceLinks)

returnValue = instance.ReadEntityReferenceLinksAsync(navigationProperty)
public Task<ODataEntityReferenceLinks> ReadEntityReferenceLinksAsync(
    IEdmNavigationProperty navigationProperty
)
public:
Task<ODataEntityReferenceLinks^>^ ReadEntityReferenceLinksAsync(
    IEdmNavigationProperty^ navigationProperty
)
member ReadEntityReferenceLinksAsync : 
        navigationProperty:IEdmNavigationProperty -> Task<ODataEntityReferenceLinks> 
public function ReadEntityReferenceLinksAsync(
    navigationProperty : IEdmNavigationProperty
) : Task<ODataEntityReferenceLinks>

Parameters

Return Value

Type: System.Threading.Tasks.Task<ODataEntityReferenceLinks>
A task representing the asynchronous reading of the entity reference links.

See Also

Reference

ODataMessageReader Class

ReadEntityReferenceLinksAsync Overload

Microsoft.Data.OData Namespace