ODataMessageReader.CreateODataUriParameterResourceReaderAsync 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.
Asynchronously creates an ODataReader to read a resource in a Uri operation parameter.
public System.Threading.Tasks.Task<Microsoft.OData.ODataReader> CreateODataUriParameterResourceReaderAsync (Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
member this.CreateODataUriParameterResourceReaderAsync : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataReader>
Public Function CreateODataUriParameterResourceReaderAsync (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
A running task for the created reader.