Share via


ODataSerializer(ODataPayloadKind) Constructor

Definition

Constructs an ODataSerializer that can generate OData payload of the specified kind.

protected ODataSerializer (Microsoft.OData.ODataPayloadKind payloadKind);
new Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializer : Microsoft.OData.ODataPayloadKind -> Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializer
Protected Sub New (payloadKind As ODataPayloadKind)

Parameters

payloadKind
ODataPayloadKind

The kind of OData payload that this serializer generates.

Applies to