ODataMessageWriter.WriteServiceDocumentAsync(ODataServiceDocument) 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 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.