CreateODataCollectionReaderAsync Method (Void)

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 ( _
    expectedItemTypeReference As Void _
) As Task
'Usage
Dim instance As ODataMessageReader
Dim expectedItemTypeReference As Void
Dim returnValue As Task

returnValue = instance.CreateODataCollectionReaderAsync(expectedItemTypeReference)
public Task CreateODataCollectionReaderAsync(
    void expectedItemTypeReference
)
public:
Task^ CreateODataCollectionReaderAsync(
    void expectedItemTypeReference
)
member CreateODataCollectionReaderAsync : 
        expectedItemTypeReference:unit -> Task 
public function CreateODataCollectionReaderAsync(
    expectedItemTypeReference : Void
) : Task

Parameters

  • expectedItemTypeReference
    Type: System..::..Void
    The expected resource type for the items in the collection.

Return Value

Type: System.Threading.Tasks..::..Task< (Of < ( <'TResult> ) > ) >
A running task for the created collection reader.

See Also

Reference

ODataMessageReader Class

CreateODataCollectionReaderAsync Overload

Microsoft.Data.OData Namespace