ODataEdmTypeSerializer Constructor
Namespace: System.Web.Http.OData.Formatter.Serialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
Name | Description | |
---|---|---|
ODataEdmTypeSerializer(ODataPayloadKind) | Initializes a new instance of the ODataEdmTypeSerializer class. |
|
ODataEdmTypeSerializer(ODataPayloadKind, ODataSerializerProvider) | Initializes a new instance of the ODataEdmTypeSerializer class. |
See Also
ODataEdmTypeSerializer Class
System.Web.Http.OData.Formatter.Serialization Namespace
Return to top
ODataEdmTypeSerializer Constructor (ODataPayloadKind)
Initializes a new instance of the ODataEdmTypeSerializer class.
Syntax
protected ODataEdmTypeSerializer(
ODataPayloadKind payloadKind
)
protected:
ODataEdmTypeSerializer(
ODataPayloadKind payloadKind
)
new :
payloadKind:ODataPayloadKind -> ODataEdmTypeSerializer
Protected Sub New (
payloadKind As ODataPayloadKind
)
Parameters
payloadKind
Type: Microsoft.Data.OData.ODataPayloadKindThe kind of OData payload that this serializer generates.
Return to top
ODataEdmTypeSerializer Constructor (ODataPayloadKind, ODataSerializerProvider)
Initializes a new instance of the ODataEdmTypeSerializer class.
Syntax
protected ODataEdmTypeSerializer(
ODataPayloadKind payloadKind,
ODataSerializerProvider serializerProvider
)
protected:
ODataEdmTypeSerializer(
ODataPayloadKind payloadKind,
ODataSerializerProvider^ serializerProvider
)
new :
payloadKind:ODataPayloadKind *
serializerProvider:ODataSerializerProvider -> ODataEdmTypeSerializer
Protected Sub New (
payloadKind As ODataPayloadKind,
serializerProvider As ODataSerializerProvider
)
Parameters
payloadKind
Type: Microsoft.Data.OData.ODataPayloadKindThe kind of OData payload that this serializer generates.
serializerProvider
Type: System.Web.Http.OData.Formatter.Serialization.ODataSerializerProviderThe ODataSerializerProvider to use to write inner objects.
Return to top