Share via


ODataMessageWriter.WriteEntityReferenceLinkAsync Method

Definition

Asynchronously writes a singleton result of a $ref query as the message payload.

public System.Threading.Tasks.Task WriteEntityReferenceLinkAsync (Microsoft.OData.ODataEntityReferenceLink link);
member this.WriteEntityReferenceLinkAsync : Microsoft.OData.ODataEntityReferenceLink -> System.Threading.Tasks.Task
Public Function WriteEntityReferenceLinkAsync (link As ODataEntityReferenceLink) As Task

Parameters

link
ODataEntityReferenceLink

The link result to write as the message payload.

Returns

A running task representing the writing of the link.

Applies to