Share via


ODataErrorSerializer Class

Definition

Represents an ODataSerializer to serialize ODataErrors.

public class ODataErrorSerializer : Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializer
type ODataErrorSerializer = class
    inherit ODataSerializer
Public Class ODataErrorSerializer
Inherits ODataSerializer
Inheritance
ODataErrorSerializer

Constructors

ODataErrorSerializer()

Initializes a new instance of the class ODataSerializer.

Properties

ODataPayloadKind

Gets the ODataPayloadKind that this serializer generates.

(Inherited from ODataSerializer)

Methods

WriteObject(Object, Type, ODataMessageWriter, ODataSerializerContext)

Writes the given object specified by the parameter graph as a whole using the given messageWriter and writeContext.

WriteObjectAsync(Object, Type, ODataMessageWriter, ODataSerializerContext)

Writes the given object specified by the parameter graph as a whole using the given messageWriter and writeContext.

Applies to