XmlDataContractSerializerOutputFormatter Constructors
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.
Overloads
XmlDataContractSerializerOutputFormatter() |
Initializes a new instance of XmlDataContractSerializerOutputFormatter with default XmlWriterSettings. |
XmlDataContractSerializerOutputFormatter(ILoggerFactory) |
Initializes a new instance of XmlDataContractSerializerOutputFormatter with default XmlWriterSettings. |
XmlDataContractSerializerOutputFormatter(XmlWriterSettings) |
Initializes a new instance of XmlDataContractSerializerOutputFormatter. |
XmlDataContractSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory) |
Initializes a new instance of XmlDataContractSerializerOutputFormatter. |
XmlDataContractSerializerOutputFormatter()
Initializes a new instance of XmlDataContractSerializerOutputFormatter with default XmlWriterSettings.
public:
XmlDataContractSerializerOutputFormatter();
public XmlDataContractSerializerOutputFormatter ();
Public Sub New ()
Applies to
XmlDataContractSerializerOutputFormatter(ILoggerFactory)
Initializes a new instance of XmlDataContractSerializerOutputFormatter with default XmlWriterSettings.
public:
XmlDataContractSerializerOutputFormatter(Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public XmlDataContractSerializerOutputFormatter (Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter
Public Sub New (loggerFactory As ILoggerFactory)
Parameters
- loggerFactory
- ILoggerFactory
The ILoggerFactory.
Applies to
XmlDataContractSerializerOutputFormatter(XmlWriterSettings)
Initializes a new instance of XmlDataContractSerializerOutputFormatter.
public:
XmlDataContractSerializerOutputFormatter(System::Xml::XmlWriterSettings ^ writerSettings);
public XmlDataContractSerializerOutputFormatter (System.Xml.XmlWriterSettings writerSettings);
new Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter : System.Xml.XmlWriterSettings -> Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter
Public Sub New (writerSettings As XmlWriterSettings)
Parameters
- writerSettings
- XmlWriterSettings
The settings to be used by the DataContractSerializer.
Applies to
XmlDataContractSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)
Initializes a new instance of XmlDataContractSerializerOutputFormatter.
public:
XmlDataContractSerializerOutputFormatter(System::Xml::XmlWriterSettings ^ writerSettings, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public XmlDataContractSerializerOutputFormatter (System.Xml.XmlWriterSettings writerSettings, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter : System.Xml.XmlWriterSettings * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerOutputFormatter
Public Sub New (writerSettings As XmlWriterSettings, loggerFactory As ILoggerFactory)
Parameters
- writerSettings
- XmlWriterSettings
The settings to be used by the DataContractSerializer.
- loggerFactory
- ILoggerFactory
The ILoggerFactory.