ODataResourceValueSerializer Constructors
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.
Overloads
ODataResourceValueSerializer(ODataSerializerProvider) |
Initializes a new instance of ODataResourceValueSerializer. |
ODataResourceValueSerializer(ODataPayloadKind, ODataSerializerProvider) |
Initializes a new instance of the ODataEdmTypeSerializer class. |
ODataResourceValueSerializer(ODataSerializerProvider)
Initializes a new instance of ODataResourceValueSerializer.
public ODataResourceValueSerializer (Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider serializerProvider);
new Microsoft.AspNet.OData.Formatter.Serialization.ODataResourceValueSerializer : Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider -> Microsoft.AspNet.OData.Formatter.Serialization.ODataResourceValueSerializer
Public Sub New (serializerProvider As ODataSerializerProvider)
Parameters
- serializerProvider
- ODataSerializerProvider
Applies to
ODataResourceValueSerializer(ODataPayloadKind, ODataSerializerProvider)
Initializes a new instance of the ODataEdmTypeSerializer class.
protected ODataResourceValueSerializer (Microsoft.OData.ODataPayloadKind payloadKind, Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider serializerProvider);
new Microsoft.AspNet.OData.Formatter.Serialization.ODataResourceValueSerializer : Microsoft.OData.ODataPayloadKind * Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerProvider -> Microsoft.AspNet.OData.Formatter.Serialization.ODataResourceValueSerializer
Protected Sub New (payloadKind As ODataPayloadKind, serializerProvider As ODataSerializerProvider)
Parameters
- payloadKind
- ODataPayloadKind
The kind of OData payload that this serializer generates.
- serializerProvider
- ODataSerializerProvider
The ODataSerializerProvider to use to write inner objects.