ODataReaderExtensions.ReadResourceOrResourceSetAsync(ODataReader) 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.
Reads a ODataResource or ODataResourceSet object.
public static System.Threading.Tasks.Task<Microsoft.AspNet.OData.Formatter.Deserialization.ODataItemBase> ReadResourceOrResourceSetAsync (this Microsoft.OData.ODataReader reader);
static member ReadResourceOrResourceSetAsync : Microsoft.OData.ODataReader -> System.Threading.Tasks.Task<Microsoft.AspNet.OData.Formatter.Deserialization.ODataItemBase>
<Extension()>
Public Function ReadResourceOrResourceSetAsync (reader As ODataReader) As Task(Of ODataItemBase)
Parameters
- reader
- ODataReader
The OData reader to read from.
Returns
The read resource or resource set.