DefaultODataSerializerProvider.GetODataPayloadSerializer Method (IEdmModel, Type, HttpRequestMessage)
Namespace: System.Web.Http.OData.Formatter.Serialization
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public override ODataSerializer GetODataPayloadSerializer(
IEdmModel model,
Type type,
HttpRequestMessage request
)
public:
virtual ODataSerializer^ GetODataPayloadSerializer(
IEdmModel^ model,
Type^ type,
HttpRequestMessage^ request
) override
override GetODataPayloadSerializer :
model:IEdmModel *
type:Type *
request:HttpRequestMessage -> ODataSerializer
Public Overrides Function GetODataPayloadSerializer (
model As IEdmModel,
type As Type,
request As HttpRequestMessage
) As ODataSerializer
Parameters
- model
Type: Microsoft.Data.Edm.IEdmModel
- type
Type: System.Type
- request
Type: System.Net.Http.HttpRequestMessage
Return Value
Type: System.Web.Http.OData.Formatter.Serialization.ODataSerializer
See Also
DefaultODataSerializerProvider Class
System.Web.Http.OData.Formatter.Serialization Namespace
Return to top