Share via


ODataMessageReader.CreateODataUriParameterResourceSetReaderAsync Method

Definition

Asynchronously creates an ODataReader to read a resource set in a Uri operation parameter.

public System.Threading.Tasks.Task<Microsoft.OData.ODataReader> CreateODataUriParameterResourceSetReaderAsync (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
member this.CreateODataUriParameterResourceSetReaderAsync : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataReader>
Public Function CreateODataUriParameterResourceSetReaderAsync (entitySet As IEdmEntitySetBase, expectedResourceType As IEdmStructuredType) As Task(Of ODataReader)

Parameters

entitySet
IEdmEntitySetBase

The entity set we are going to read entities for.

expectedResourceType
IEdmStructuredType

The expected type for the items in the resource set.

Returns

A running task for the created reader.

Applies to