Share via


ODataCollectionReader.ReadAsync Method ()

 

Asynchronously reads the next item from the message payload.

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

Syntax

[SuppressMessageAttribute("Microsoft.MSInternal", "CA908:AvoidTypesThatRequireJitCompilationInPrecompiledAssemblies", 
    Justification = "API design calls for a bool being returned from the task here.")]
public abstract Task<bool> ReadAsync()
public:
[SuppressMessageAttribute("Microsoft.MSInternal", "CA908:AvoidTypesThatRequireJitCompilationInPrecompiledAssemblies", 
    Justification = "API design calls for a bool being returned from the task here.")]
virtual Task<bool>^ ReadAsync() abstract
[<SuppressMessageAttribute("Microsoft.MSInternal", "CA908:AvoidTypesThatRequireJitCompilationInPrecompiledAssemblies",
    Justification = "API design calls for a bool being returned from the task here.")>]
abstract ReadAsync : unit -> Task<bool>
<SuppressMessageAttribute("Microsoft.MSInternal", "CA908:AvoidTypesThatRequireJitCompilationInPrecompiledAssemblies",
    Justification := "API design calls for a bool being returned from the task here.")>
Public MustOverride Function ReadAsync As Task(Of Boolean)

Return Value

Type: System.Threading.Tasks.Task<Boolean>

A task that when completed indicates whether more items were read.

See Also

ODataCollectionReader Class
Microsoft.OData.Core Namespace

Return to top