ODataMessageWriter.WriteEntityReferenceLinksAsync Method (ODataEntityReferenceLinks)

Asynchronously writes 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 WriteEntityReferenceLinksAsync ( _
    links As ODataEntityReferenceLinks _
) As Task
'Usage
Dim instance As ODataMessageWriter 
Dim links As ODataEntityReferenceLinks 
Dim returnValue As Task 

returnValue = instance.WriteEntityReferenceLinksAsync(links)
public Task WriteEntityReferenceLinksAsync(
    ODataEntityReferenceLinks links
)
public:
Task^ WriteEntityReferenceLinksAsync(
    ODataEntityReferenceLinks^ links
)
member WriteEntityReferenceLinksAsync : 
        links:ODataEntityReferenceLinks -> Task
public function WriteEntityReferenceLinksAsync(
    links : ODataEntityReferenceLinks
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
A task representing the asynchronous writing of the entity reference links.

See Also

Reference

ODataMessageWriter Class

WriteEntityReferenceLinksAsync Overload

Microsoft.Data.OData Namespace