DefaultODataSerializerProvider.GetODataPayloadSerializer Method
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
GetODataPayloadSerializer(Type, HttpRequest) |
Gets an ODataSerializer for the given |
GetODataPayloadSerializer(Type, HttpRequestMessage) |
Gets an ODataSerializer for the given |
GetODataPayloadSerializer(Type, HttpRequest)
Gets an ODataSerializer for the given type
.
public override Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializer GetODataPayloadSerializer (Type type, Microsoft.AspNetCore.Http.HttpRequest request);
override this.GetODataPayloadSerializer : Type * Microsoft.AspNetCore.Http.HttpRequest -> Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializer
Public Overrides Function GetODataPayloadSerializer (type As Type, request As HttpRequest) As ODataSerializer
Parameters
- request
- HttpRequest
The request for which the response is being serialized.
Returns
The ODataSerializer for the given type.
Remarks
This signature uses types that are AspNetCore-specific.
Applies to
GetODataPayloadSerializer(Type, HttpRequestMessage)
Gets an ODataSerializer for the given type
.
public override Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializer GetODataPayloadSerializer (Type type, System.Net.Http.HttpRequestMessage request);
override this.GetODataPayloadSerializer : Type * System.Net.Http.HttpRequestMessage -> Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializer
Public Overrides Function GetODataPayloadSerializer (type As Type, request As HttpRequestMessage) As ODataSerializer
Parameters
- request
- HttpRequestMessage
The request for which the response is being serialized.
Returns
The ODataSerializer for the given type.
Remarks
This signature uses types that are AspNet-specific.