ODataSerializer(ODataPayloadKind) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.