XmlMediaTypeFormatter
XmlMediaTypeFormatter()
XmlMediaTypeFormatter(XmlMediaTypeFormatter)
DefaultMediaType
Indent
MaxDepth
UseXmlSerializer
WriterSettings
CanReadType(Type)
CanWriteType(Type)
CreateDataContractSerializer(Type)
CreateXmlReader(Stream, HttpContent)
CreateXmlSerializer(Type)
CreateXmlWriter(Stream, HttpContent)
GetDeserializer(Type, HttpContent)
GetSerializer(Type, Object, HttpContent)
InvokeCreateXmlReader(Stream, HttpContent)
InvokeCreateXmlWriter(Stream, HttpContent)
InvokeGetDeserializer(Type, HttpContent)
InvokeGetSerializer(Type, Object, HttpContent)
ReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger)
RemoveSerializer(Type)
SetSerializer(Type, XmlObjectSerializer)
SetSerializer(Type, XmlSerializer)
SetSerializer<T>(XmlObjectSerializer)
SetSerializer<T>(XmlSerializer)
WriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext, CancellationToken)
net48
namespace System.Net.Http.Formatting
{
public class XmlMediaTypeFormatter : MediaTypeFormatter
{
public override Task WriteToStreamAsync(Type type, object value, Stream writeStream, HttpContent content, TransportContext transportContext, CancellationToken cancellationToken);
}
}
| Upgrade Planner | 0.0 % Reference this API |
|---|---|
| .NET | 5.06.07.08.09.010.011.0 |
| .NET Core | 1.01.12.02.12.23.03.1 |
| .NET Framework | 4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 1.31.41.51.62.02.1 |
Information specific to net48 | |
| Assembly | System.Net.Http.Formatting , Version=6.0.0.0, PublicKeyToken=31bf3856ad364e35 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNet.WebApi.Client (6.0.0) net45 |
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API