Share via


ODataMessageReader.ReadServiceDocumentAsync Method

Asynchronously reads a service document payload.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Function ReadServiceDocumentAsync As Task(Of ODataWorkspace)
'Usage
Dim instance As ODataMessageReader 
Dim returnValue As Task(Of ODataWorkspace)

returnValue = instance.ReadServiceDocumentAsync()
public Task<ODataWorkspace> ReadServiceDocumentAsync()
public:
Task<ODataWorkspace^>^ ReadServiceDocumentAsync()
member ReadServiceDocumentAsync : unit -> Task<ODataWorkspace> 
public function ReadServiceDocumentAsync() : Task<ODataWorkspace>

Return Value

Type: System.Threading.Tasks.Task<ODataWorkspace>
A task representing the asynchronous operation of reading the service document.

See Also

Reference

ODataMessageReader Class

Microsoft.Data.OData Namespace