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)
net6.0-windows
namespace System.Net.Http.Formatting
{
public class XmlMediaTypeFormatter : MediaTypeFormatter
{
public override Task WriteToStreamAsync(Type type, ? value, Stream writeStream, HttpContent content, TransportContext transportContext, CancellationToken cancellationToken);
}
}
Upgrade Planner | 0.0 % Reference this API |
---|---|
.NET | 5.06.07.08.09.010.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 net6.0 | |
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) netstandard2.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API