ODataMediaTypeFormatter Class
MediaTypeFormatter class to handle OData.
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
System.Net.Http.Formatting::MediaTypeFormatter
System.Web.Http.OData.Formatter::ODataMediaTypeFormatter
| Name | Description | |
|---|---|---|
![]() | ODataMediaTypeFormatter(IEnumerable<ODataPayloadKind>^) | Initializes a new instance of the ODataMediaTypeFormatter class. |
![]() | ODataMediaTypeFormatter(ODataDeserializerProvider^, ODataSerializerProvider^, IEnumerable<ODataPayloadKind>^) | Initializes a new instance of the ODataMediaTypeFormatter class. |
| Name | Description | |
|---|---|---|
![]() | DeserializerProvider | Gets the ODataDeserializerProvider that will be used by this formatter instance. |
![]() | MediaTypeMappings | Gets the mutable collection of MediaTypeMapping objects that match HTTP requests to media types.(Inherited from MediaTypeFormatter.) |
![]() | MessageReaderQuotas | Gets the ODataMessageQuotas that this formatter uses on the read side. |
![]() | MessageReaderSettings | Gets the ODataMessageReaderSettings to be used while reading requests. |
![]() | MessageWriterQuotas | Gets the ODataMessageQuotas that this formatter uses on the write side. |
![]() | MessageWriterSettings | Gets the ODataMessageWriterSettings to be used while writing responses. |
![]() | RequiredMemberSelector | Gets or sets the IRequiredMemberSelector instance used to determine required members.(Inherited from MediaTypeFormatter.) |
![]() | SerializerProvider | Gets the ODataSerializerProvider that will be used by this formatter instance. |
![]() | SupportedEncodings | Gets the mutable collection of character encodings supported bythis MediaTypeFormatter.(Inherited from MediaTypeFormatter.) |
![]() | SupportedMediaTypes | Gets the mutable collection of media types supported bythis MediaTypeFormatter.(Inherited from MediaTypeFormatter.) |
| Name | Description | |
|---|---|---|
![]() | AddQueryStringMapping(String^, String^, MediaTypeHeaderValue^) | Overloaded. (Defined by MediaTypeFormatterExtensions.) |
![]() | AddQueryStringMapping(String^, String^, String^) | Overloaded. (Defined by MediaTypeFormatterExtensions.) |
![]() | AddRequestHeaderMapping(String^, String^, StringComparison, Boolean, MediaTypeHeaderValue^) | Overloaded. (Defined by MediaTypeFormatterExtensions.) |
![]() | AddRequestHeaderMapping(String^, String^, StringComparison, Boolean, String^) | Overloaded. (Defined by MediaTypeFormatterExtensions.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


