Dela via


ODataMessageReader.CreateODataCollectionReaderAsync Method

Asynchronously creates an ODataCollectionReader to read a collection of primitive or complex values (as result of a service operation invocation).

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

Syntax

'Declaration
Public Function CreateODataCollectionReaderAsync As Task(Of ODataCollectionReader)
'Usage
Dim instance As ODataMessageReader 
Dim returnValue As Task(Of ODataCollectionReader)

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

Return Value

Type: System.Threading.Tasks.Task<ODataCollectionReader>
A running task for the created collection reader.

See Also

Reference

ODataMessageReader Class

CreateODataCollectionReaderAsync Overload

Microsoft.Data.OData Namespace