ODataMessageWriter.WriteEntityReferenceLinksAsync Method
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
- links
Type: Microsoft.Data.OData.ODataEntityReferenceLinks
The entity reference links to write as message payload.
Return Value
Type: System.Threading.Tasks.Task
A task representing the asynchronous writing of the entity reference links.