ODataMessageReader Class

Represents the reader class used to read all OData payloads (entries, feeds, metadata documents, service documents, and so on).

System.Object
  Microsoft.Data.OData.ODataMessageReader

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

public sealed class ODataMessageReader : IDisposable

The ODataMessageReader type exposes the following members.

  NameDescription
Public methodODataMessageReader(IODataRequestMessage)Creates a new ODataMessageReader for the given request message.
Public methodODataMessageReader(IODataResponseMessage)Creates a new ODataMessageReader for the given response message.
Public methodODataMessageReader(IODataRequestMessage, ODataMessageReaderSettings)Creates a new ODataMessageReader for the given request message and message reader settings.
Public methodODataMessageReader(IODataResponseMessage, ODataMessageReaderSettings)Creates a new ODataMessageReader for the given response message and message reader settings.
Public methodODataMessageReader(IODataRequestMessage, ODataMessageReaderSettings, IEdmModel)Creates a new ODataMessageReader for the given request message and message reader settings.
Public methodODataMessageReader(IODataResponseMessage, ODataMessageReaderSettings, IEdmModel)Creates a new ODataMessageReader for the given response message and message reader settings.
Top

  NameDescription
Public methodCreateODataBatchReaderCreates an ODataBatchReader to read a batch of requests or responses.
Public methodCreateODataBatchReaderAsyncAsynchronously creates an ODataBatchReader to read a batch of requests or responses.
Public methodCreateODataCollectionReader()Creates an ODataCollectionReader to read a collection of primitive or complex values (as result of a service operation invocation).
Public methodCreateODataCollectionReader(IEdmTypeReference)Creates an ODataCollectionReader to read a collection of primitive or complex values (as result of a service operation invocation).
Public methodCreateODataCollectionReaderAsync()Asynchronously creates an ODataCollectionReader to read a collection of primitive or complex values (as result of a service operation invocation).
Public methodCreateODataCollectionReaderAsync(IEdmTypeReference)Asynchronously creates an ODataCollectionReader to read a collection of primitive or complex values (as result of a service operation invocation).
Public methodCreateODataEntryReader()Creates an ODataReader to read an entry.
Public methodCreateODataEntryReader(IEdmEntityType)Creates an ODataReader to read an entry.
Public methodCreateODataEntryReader(IEdmEntitySet, IEdmEntityType)Creates an ODataReader to read an entry.
Public methodCreateODataEntryReaderAsync()Asynchronously creates an ODataReader to read an entry.
Public methodCreateODataEntryReaderAsync(IEdmEntityType)Asynchronously creates an ODataReader to read an entry.
Public methodCreateODataEntryReaderAsync(IEdmEntitySet, IEdmEntityType)Asynchronously creates an ODataReader to read an entry.
Public methodCreateODataFeedReader()Creates an ODataReader to read a feed.
Public methodCreateODataFeedReader(IEdmEntityType)Creates an ODataReader to read a feed.
Public methodCreateODataFeedReader(IEdmEntitySet, IEdmEntityType)Creates an ODataReader to read a feed.
Public methodCreateODataFeedReaderAsync()Asynchronously creates an ODataReader to read a feed.
Public methodCreateODataFeedReaderAsync(IEdmEntityType)Asynchronously creates an ODataReader to read a feed.
Public methodCreateODataFeedReaderAsync(IEdmEntitySet, IEdmEntityType)Asynchronously creates an ODataReader to read a feed.
Public methodCreateODataParameterReaderCreates an ODataParameterReader object.
Public methodCreateODataParameterReaderAsyncAsynchronously creates an ODataParameterReader object.
Public methodDetectPayloadKindDetermines the potential payload kinds and formats of the payload being read and returns it.
Public methodDetectPayloadKindAsyncDetermines the potential payload kinds and formats of the payload being read and returns it.
Public methodDispose [M:System.IDisposable.Dispose()] implementation to cleanup unmanaged resources of the reader.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodReadEntityReferenceLink()Reads a singleton result of a $links query (entity reference link) as the message payload.
Public methodReadEntityReferenceLink(IEdmNavigationProperty)Reads a singleton result of a $links query (entity reference link) as the message payload.
Public methodReadEntityReferenceLinkAsync()Asynchronously reads a singleton result of a $links query (entity reference link) as the message payload.
Public methodReadEntityReferenceLinkAsync(IEdmNavigationProperty)Asynchronously reads a singleton result of a $links query (entity reference link) as the message payload.
Public methodReadEntityReferenceLinks()Reads the result of a $links query (entity reference links) as the message payload.
Public methodReadEntityReferenceLinks(IEdmNavigationProperty)Reads the result of a $links query (entity reference links) as the message payload.
Public methodReadEntityReferenceLinksAsync()Asynchronously reads the result of a $links query as the message payload.
Public methodReadEntityReferenceLinksAsync(IEdmNavigationProperty)Asynchronously reads the result of a $links query as the message payload.
Public methodReadErrorReads an ODataError as the message payload.
Public methodReadErrorAsyncAsynchronously reads an ODataError as the message payload.
Public methodReadMetadataDocumentReads the message body as metadata document.
Public methodReadProperty()Reads an ODataProperty as message payload.
Public methodReadProperty(IEdmStructuralProperty)Reads an ODataProperty as message payload.
Public methodReadProperty(IEdmTypeReference)Reads an ODataProperty as message payload.
Public methodReadPropertyAsync()Asynchronously reads an ODataProperty as message payload.
Public methodReadPropertyAsync(IEdmStructuralProperty)Asynchronously reads an ODataProperty as message payload.
Public methodReadPropertyAsync(IEdmTypeReference)Asynchronously reads an ODataProperty as message payload.
Public methodReadServiceDocumentReads a service document payload.
Public methodReadServiceDocumentAsyncAsynchronously reads a service document payload.
Public methodReadValueReads a single value as the message body.
Public methodReadValueAsyncAsynchronously reads a single value as the message body.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: