Jaa


ODataInputContext.CreateUriParameterResourceReaderAsync Method

Definition

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

public virtual System.Threading.Tasks.Task<Microsoft.OData.ODataReader> CreateUriParameterResourceReaderAsync (Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
abstract member CreateUriParameterResourceReaderAsync : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataReader>
override this.CreateUriParameterResourceReaderAsync : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataReader>
Public Overridable Function CreateUriParameterResourceReaderAsync (navigationSource As IEdmNavigationSource, expectedResourceType As IEdmStructuredType) As Task(Of ODataReader)

Parameters

navigationSource
IEdmNavigationSource

The navigation source we are going to read resources for.

expectedResourceType
IEdmStructuredType

The expected structured type for the resource to be read.

Returns

Task which when completed returns the newly created ODataReader.

Applies to