Jaa


ODataMessageReader.CreateODataResourceReaderAsync Method

Definition

Overloads

CreateODataResourceReaderAsync()

Asynchronously creates an ODataReader to read a resource.

CreateODataResourceReaderAsync(IEdmStructuredType)

Asynchronously creates an ODataReader to read a resource.

CreateODataResourceReaderAsync(IEdmNavigationSource, IEdmStructuredType)

Asynchronously creates an ODataReader to read a resource.

CreateODataResourceReaderAsync()

Asynchronously creates an ODataReader to read a resource.

public System.Threading.Tasks.Task<Microsoft.OData.ODataReader> CreateODataResourceReaderAsync ();
member this.CreateODataResourceReaderAsync : unit -> System.Threading.Tasks.Task<Microsoft.OData.ODataReader>
Public Function CreateODataResourceReaderAsync () As Task(Of ODataReader)

Returns

A running task for the created reader.

Applies to

CreateODataResourceReaderAsync(IEdmStructuredType)

Asynchronously creates an ODataReader to read a resource.

public System.Threading.Tasks.Task<Microsoft.OData.ODataReader> CreateODataResourceReaderAsync (Microsoft.OData.Edm.IEdmStructuredType resourceType);
member this.CreateODataResourceReaderAsync : Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataReader>
Public Function CreateODataResourceReaderAsync (resourceType As IEdmStructuredType) As Task(Of ODataReader)

Parameters

resourceType
IEdmStructuredType

The expected structured type for the resource to be read.

Returns

A running task for the created reader.

Applies to

CreateODataResourceReaderAsync(IEdmNavigationSource, IEdmStructuredType)

Asynchronously creates an ODataReader to read a resource.

public System.Threading.Tasks.Task<Microsoft.OData.ODataReader> CreateODataResourceReaderAsync (Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.OData.Edm.IEdmStructuredType resourceType);
member this.CreateODataResourceReaderAsync : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataReader>
Public Function CreateODataResourceReaderAsync (navigationSource As IEdmNavigationSource, resourceType As IEdmStructuredType) As Task(Of ODataReader)

Parameters

navigationSource
IEdmNavigationSource

The navigation source we are going to read resources for.

resourceType
IEdmStructuredType

The expected structured type for the resource to be read.

Returns

A running task for the created reader.

Applies to