Language

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

Name Description
ODataErrorSerializer()

Initializes a new instance of the class ODataSerializer.

Properties

Name Description
ODataPayloadKind

Gets the ODataPayloadKind that this serializer generates.

(Inherited from ODataSerializer)

Methods

Name Description
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