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)
net481
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);
}
}
| .NET Framework | 4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
|---|---|
Information specific to net481 | |
| 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