Share via


ODataMessageWriter.WriteServiceDocumentAsync(ODataServiceDocument) Method

Definition

Asynchronously writes a service document with the specified serviceDocument as the message payload.

public System.Threading.Tasks.Task WriteServiceDocumentAsync (Microsoft.OData.ODataServiceDocument serviceDocument);
member this.WriteServiceDocumentAsync : Microsoft.OData.ODataServiceDocument -> System.Threading.Tasks.Task
Public Function WriteServiceDocumentAsync (serviceDocument As ODataServiceDocument) As Task

Parameters

serviceDocument
ODataServiceDocument

The service document to write.

Returns

A task representing the asynchronous operation of writing the service document.

Applies to