ODataMessageWriter.WriteEntityReferenceLinkAsync Method

Asynchronously writes a singleton 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 WriteEntityReferenceLinkAsync ( _
    link As ODataEntityReferenceLink _
) As Task
'Usage
Dim instance As ODataMessageWriter 
Dim link As ODataEntityReferenceLink 
Dim returnValue As Task 

returnValue = instance.WriteEntityReferenceLinkAsync(link)
public Task WriteEntityReferenceLinkAsync(
    ODataEntityReferenceLink link
)
public:
Task^ WriteEntityReferenceLinkAsync(
    ODataEntityReferenceLink^ link
)
member WriteEntityReferenceLinkAsync : 
        link:ODataEntityReferenceLink -> Task
public function WriteEntityReferenceLinkAsync(
    link : ODataEntityReferenceLink
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
A running task representing the writing of the link.

See Also

Reference

ODataMessageWriter Class

Microsoft.Data.OData Namespace