ODataMessageReader.CreateODataCollectionReaderAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateODataCollectionReaderAsync() |
Asynchronously creates an ODataCollectionReader to read a collection of primitive or complex values (as result of a service operation invocation). |
CreateODataCollectionReaderAsync(IEdmTypeReference) |
Asynchronously creates an ODataCollectionReader to read a collection of primitive or complex values (as result of a service operation invocation). |
CreateODataCollectionReaderAsync()
Asynchronously creates an ODataCollectionReader to read a collection of primitive or complex values (as result of a service operation invocation).
public System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionReader> CreateODataCollectionReaderAsync ();
member this.CreateODataCollectionReaderAsync : unit -> System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionReader>
Public Function CreateODataCollectionReaderAsync () As Task(Of ODataCollectionReader)
Returns
A running task for the created collection reader.
Applies to
CreateODataCollectionReaderAsync(IEdmTypeReference)
Asynchronously creates an ODataCollectionReader to read a collection of primitive or complex values (as result of a service operation invocation).
public System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionReader> CreateODataCollectionReaderAsync (Microsoft.OData.Edm.IEdmTypeReference expectedItemTypeReference);
member this.CreateODataCollectionReaderAsync : Microsoft.OData.Edm.IEdmTypeReference -> System.Threading.Tasks.Task<Microsoft.OData.ODataCollectionReader>
Public Function CreateODataCollectionReaderAsync (expectedItemTypeReference As IEdmTypeReference) As Task(Of ODataCollectionReader)
Parameters
- expectedItemTypeReference
- IEdmTypeReference
The expected type reference for the items in the collection.
Returns
A running task for the created collection reader.