Partilhar via


ODataMessageReader.CreateODataEntryReaderAsync Method (IEdmEntityType)

Asynchronously creates an ODataReader to read an entry.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Function CreateODataEntryReaderAsync ( _
    expectedEntityType As IEdmEntityType _
) As Task(Of ODataReader)
'Usage
Dim instance As ODataMessageReader 
Dim expectedEntityType As IEdmEntityType 
Dim returnValue As Task(Of ODataReader)

returnValue = instance.CreateODataEntryReaderAsync(expectedEntityType)
public Task<ODataReader> CreateODataEntryReaderAsync(
    IEdmEntityType expectedEntityType
)
public:
Task<ODataReader^>^ CreateODataEntryReaderAsync(
    IEdmEntityType^ expectedEntityType
)
member CreateODataEntryReaderAsync : 
        expectedEntityType:IEdmEntityType -> Task<ODataReader> 
public function CreateODataEntryReaderAsync(
    expectedEntityType : IEdmEntityType
) : Task<ODataReader>

Parameters

Return Value

Type: System.Threading.Tasks.Task<ODataReader>
A running task for the created reader.

See Also

Reference

ODataMessageReader Class

CreateODataEntryReaderAsync Overload

Microsoft.Data.OData Namespace