ODataOutputContext.WritePropertyAsync(ODataProperty) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.