Dela via


ProblemDetailsWrapper Class

Definition

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

public ref class ProblemDetailsWrapper : Microsoft::AspNetCore::Mvc::Formatters::Xml::IUnwrappable, System::Xml::Serialization::IXmlSerializable
public class ProblemDetailsWrapper : Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable, System.Xml.Serialization.IXmlSerializable
type ProblemDetailsWrapper = class
    interface IXmlSerializable
    interface IUnwrappable
type ProblemDetailsWrapper = class
    interface IUnwrappable
    interface IXmlSerializable
Public Class ProblemDetailsWrapper
Implements IUnwrappable, IXmlSerializable
Inheritance
ProblemDetailsWrapper
Derived
Implements

Constructors

ProblemDetailsWrapper()

Initializes a new instance of ProblemDetailsWrapper.

ProblemDetailsWrapper(ProblemDetails)

Initializes a new instance of ProblemDetailsWrapper.

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

IUnwrappable.Unwrap(Type)

Applies to