Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 IEdmTypeReference _
) As Task(Of ODataCollectionReader)
'Usage
Dim instance As ODataMessageReader
Dim expectedItemTypeReference As IEdmTypeReference
Dim returnValue As Task(Of ODataCollectionReader)
returnValue = instance.CreateODataCollectionReaderAsync(expectedItemTypeReference)
public Task<ODataCollectionReader> CreateODataCollectionReaderAsync(
IEdmTypeReference expectedItemTypeReference
)
public:
Task<ODataCollectionReader^>^ CreateODataCollectionReaderAsync(
IEdmTypeReference^ expectedItemTypeReference
)
member CreateODataCollectionReaderAsync :
expectedItemTypeReference:IEdmTypeReference -> Task<ODataCollectionReader>
public function CreateODataCollectionReaderAsync(
expectedItemTypeReference : IEdmTypeReference
) : Task<ODataCollectionReader>
Parameters
- expectedItemTypeReference
Type: Microsoft.Data.Edm.IEdmTypeReference
The expected resource type for the items in the collection.
Return Value
Type: System.Threading.Tasks.Task<ODataCollectionReader>
A running task for the created collection reader.