BufferedMediaTypeFormatter Class
Represents a helper class to allow a synchronous formatter on top of the asynchronous formatter infrastructure.
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Inheritance Hierarchy
System.Object
System.Net.Http.Formatting.MediaTypeFormatter
System.Net.Http.Formatting.BufferedMediaTypeFormatter
Syntax
public abstract class BufferedMediaTypeFormatter : MediaTypeFormatter
public ref class BufferedMediaTypeFormatter abstract : MediaTypeFormatter
[<AbstractClass>]
type BufferedMediaTypeFormatter =
class
inherit MediaTypeFormatter
end
Public MustInherit Class BufferedMediaTypeFormatter
Inherits MediaTypeFormatter
Constructors
Name | Description | |
---|---|---|
BufferedMediaTypeFormatter() | Initializes a new instance of the BufferedMediaTypeFormatter class. |
|
BufferedMediaTypeFormatter(BufferedMediaTypeFormatter) | Initializes a new instance of the BufferedMediaTypeFormatter class. |
Properties
Name | Description | |
---|---|---|
BufferSize | Gets or sets the suggested size of buffer to use with streams in bytes. |
|
MediaTypeMappings | Gets the mutable collection of MediaTypeMapping objects that match HTTP requests to media types.(Inherited from MediaTypeFormatter.) |
|
RequiredMemberSelector | Gets or sets the IRequiredMemberSelector instance used to determine required members.(Inherited from MediaTypeFormatter.) |
|
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.) |
Methods
Extension Methods
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.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Net.Http.Formatting Namespace
Return to top