Share via


ODataMessageReader.CreateODataResourceSetReaderAsync Method

Definition

Overloads

CreateODataResourceSetReaderAsync()

Asynchronously creates an ODataReader to read a resource set.

CreateODataResourceSetReaderAsync(IEdmStructuredType)

Asynchronously creates an ODataReader to read a resource set.

CreateODataResourceSetReaderAsync(IEdmEntitySetBase, IEdmStructuredType)

Asynchronously creates an ODataReader to read a resource set.

CreateODataResourceSetReaderAsync()

Asynchronously creates an ODataReader to read a resource set.

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

Returns

A running task for the created reader.

Applies to

CreateODataResourceSetReaderAsync(IEdmStructuredType)

Asynchronously creates an ODataReader to read a resource set.

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

Parameters

expectedResourceType
IEdmStructuredType

The expected type for the items in the resource set.

Returns

A running task for the created reader.

Applies to

CreateODataResourceSetReaderAsync(IEdmEntitySetBase, IEdmStructuredType)

Asynchronously creates an ODataReader to read a resource set.

public System.Threading.Tasks.Task<Microsoft.OData.ODataReader> CreateODataResourceSetReaderAsync (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
member this.CreateODataResourceSetReaderAsync : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataReader>
Public Function CreateODataResourceSetReaderAsync (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