اقرأ باللغة الإنجليزية

مشاركة عبر


ProblemDetailsWrapper Class

Definition

Wrapper class for ProblemDetails to enable it to be serialized by the xml formatters.

C#
public class ProblemDetailsWrapper : Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable, System.Xml.Serialization.IXmlSerializable
Inheritance
ProblemDetailsWrapper
Derived
Implements

Constructors

Fields

EmptyKey

Key used to represent dictionary elements with empty keys

Methods

GetSchema()

This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class.

ReadValue(XmlReader, String)

Reads the value for the specified name from the reader.

ReadXml(XmlReader)

Generates an object from its XML representation.

WriteXml(XmlWriter)

Converts an object into its XML representation.

Explicit Interface Implementations

Applies to

منتج الإصدارات
ASP.NET Core 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0