Share via


XmlDataContractSerializerOutputFormatter Constructors

Definition

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()

Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs

Initializes a new instance of XmlDataContractSerializerOutputFormatter with default XmlWriterSettings.

public:
 XmlDataContractSerializerOutputFormatter();
public XmlDataContractSerializerOutputFormatter ();
Public Sub New ()

Applies to

XmlDataContractSerializerOutputFormatter(ILoggerFactory)

Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs

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)

Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs

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)

Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs
Source:
XmlDataContractSerializerOutputFormatter.cs

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.

Applies to