SerializableErrorWrapper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Wrapper class for SerializableError to enable it to be serialized by the xml formatters.
public ref class SerializableErrorWrapper sealed : Microsoft::AspNetCore::Mvc::Formatters::Xml::IUnwrappable, System::Xml::Serialization::IXmlSerializable
public sealed class SerializableErrorWrapper : Microsoft.AspNetCore.Mvc.Formatters.Xml.IUnwrappable, System.Xml.Serialization.IXmlSerializable
type SerializableErrorWrapper = class
interface IXmlSerializable
interface IUnwrappable
type SerializableErrorWrapper = class
interface IUnwrappable
interface IXmlSerializable
Public NotInheritable Class SerializableErrorWrapper
Implements IUnwrappable, IXmlSerializable
- Inheritance
-
SerializableErrorWrapper
- Implements
Constructors
SerializableErrorWrapper() |
Initializes a new SerializableErrorWrapper |
SerializableErrorWrapper(SerializableError) |
Initializes a new instance of the SerializableErrorWrapper class. |
Properties
SerializableError |
Gets the wrapped object which is serialized/deserialized into XML representation. |
Methods
GetSchema() | This method is reserved and should not be used. When implementing the |
ReadXml(XmlReader) |
Generates a SerializableError object from its XML representation. |
Unwrap(Type) |
Unwraps an object. |
WriteXml(XmlWriter) |
Converts the wrapped SerializableError object into its XML representation. |