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.OData.Core
Assembly:  Microsoft.OData.Core (in Microsoft.OData.Core.dll)

Overload List

Name Description
System_CAPS_pubmethod CreateODataCollectionReaderAsync()

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

System_CAPS_pubmethod CreateODataCollectionReaderAsync(IEdmTypeReference)

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

See Also

ODataMessageReader Class
Microsoft.OData.Core Namespace

Return to top

ODataMessageReader.CreateODataCollectionReaderAsync Method ()

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

Syntax

public Task<ODataCollectionReader> CreateODataCollectionReaderAsync()
public:
Task<ODataCollectionReader^>^ CreateODataCollectionReaderAsync()
member CreateODataCollectionReaderAsync : unit -> Task<ODataCollectionReader>
Public Function CreateODataCollectionReaderAsync As Task(Of ODataCollectionReader)

Return Value

Type: System.Threading.Tasks.Task<ODataCollectionReader>

A running task for the created collection reader.

Return to top

ODataMessageReader.CreateODataCollectionReaderAsync Method (IEdmTypeReference)

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

Syntax

public Task<ODataCollectionReader> CreateODataCollectionReaderAsync(
    IEdmTypeReference expectedItemTypeReference
)
public:
Task<ODataCollectionReader^>^ CreateODataCollectionReaderAsync(
    IEdmTypeReference^ expectedItemTypeReference
)
member CreateODataCollectionReaderAsync : 
        expectedItemTypeReference:IEdmTypeReference -> Task<ODataCollectionReader>
Public Function CreateODataCollectionReaderAsync (
    expectedItemTypeReference As IEdmTypeReference
) As Task(Of ODataCollectionReader)

Parameters

Return Value

Type: System.Threading.Tasks.Task<ODataCollectionReader>

A running task for the created collection reader.

Return to top