BaseJsonMediaTypeFormatter
BaseJsonMediaTypeFormatter()
BaseJsonMediaTypeFormatter(BaseJsonMediaTypeFormatter)
MaxDepth
SerializerSettings
CanReadType(Type)
CanWriteType(Type)
CreateDefaultSerializerSettings()
CreateJsonReader(Type, Stream, Encoding)
CreateJsonSerializer()
CreateJsonWriter(Type, Stream, Encoding)
ReadFromStream(Type, Stream, Encoding, IFormatterLogger)
ReadFromStreamAsync(Type, Stream, HttpContent, IFormatterLogger)
WriteToStream(Type, Object, Stream, Encoding)
WriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext, CancellationToken)
net10.0-windows7.0
namespace System.Net.Http.Formatting
{
public abstract class BaseJsonMediaTypeFormatter : MediaTypeFormatter
{
public override Task WriteToStreamAsync(Type type, ? value, Stream writeStream, HttpContent content, TransportContext transportContext, CancellationToken cancellationToken);
}
}
.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 net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.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