ODataWriter Class

Represents a base class for OData writers.

Inheritance Hierarchy

System.Object
  Microsoft.Data.OData.ODataWriter

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

Syntax

'Declaration
Public MustInherit Class ODataWriter
'Usage
Dim instance As ODataWriter
public abstract class ODataWriter
public ref class ODataWriter abstract
[<AbstractClassAttribute>]
type ODataWriter =  class end
public abstract class ODataWriter

The ODataWriter type exposes the following members.

Constructors

  Name Description
Protected method ODataWriter Initializes a new instance of the ODataWriter class.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Flush Flushes the write buffer to the underlying stream.
Public method FlushAsync Flushes the write buffer to the underlying stream asynchronously.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method WriteEnd Finishes the writing of a feed, an entry, or a navigation link.
Public method WriteEndAsync Asynchronously finish writing a feed, entry, or navigation link.
Public method WriteEntityReferenceLink Writes an entity reference link, which is used to represent binding to an existing resource in a request payload.
Public method WriteEntityReferenceLinkAsync Asynchronously writes an entity reference link, which is used to represent binding to an existing resource in a request payload.
Public method WriteStart(ODataEntry) Starts the writing of an entry.
Public method WriteStart(ODataFeed) Starts the writing of a feed.
Public method WriteStart(ODataNavigationLink) Starts the writing of a navigation link.
Public method WriteStartAsync(ODataEntry) Asynchronously start writing an entry.
Public method WriteStartAsync(ODataFeed) Asynchronously start writing a feed.
Public method WriteStartAsync(ODataNavigationLink) Asynchronously start writing a navigation link.

Top

Thread Safety

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

See Also

Reference

Microsoft.Data.OData Namespace