Share via


ODataOutputContext.WritePropertyAsync(ODataProperty) Method

Definition

Asynchronously writes an ODataProperty as message payload.

public virtual System.Threading.Tasks.Task WritePropertyAsync (Microsoft.OData.ODataProperty odataProperty);
abstract member WritePropertyAsync : Microsoft.OData.ODataProperty -> System.Threading.Tasks.Task
override this.WritePropertyAsync : Microsoft.OData.ODataProperty -> System.Threading.Tasks.Task
Public Overridable Function WritePropertyAsync (odataProperty As ODataProperty) As Task

Parameters

odataProperty
ODataProperty

The OData property to write

Returns

A task representing the asynchronous operation of writing the OData property.

Remarks

It is the responsibility of this method to flush the output before the task finishes.

Applies to