共用方式為


XmlDataContractSerializerOutputFormatter 建構函式

定義

多載

XmlDataContractSerializerOutputFormatter()

使用預設 XmlWriterSettings 初始化 的新實例 XmlDataContractSerializerOutputFormatter

XmlDataContractSerializerOutputFormatter(ILoggerFactory)

使用預設 XmlWriterSettings 初始化 的新實例 XmlDataContractSerializerOutputFormatter

XmlDataContractSerializerOutputFormatter(XmlWriterSettings)

初始化 XmlDataContractSerializerOutputFormatter 的新執行個體。

XmlDataContractSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)

初始化 XmlDataContractSerializerOutputFormatter 的新執行個體。

XmlDataContractSerializerOutputFormatter()

來源:
XmlDataContractSerializerOutputFormatter.cs
來源:
XmlDataContractSerializerOutputFormatter.cs
來源:
XmlDataContractSerializerOutputFormatter.cs

使用預設 XmlWriterSettings 初始化 的新實例 XmlDataContractSerializerOutputFormatter

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

適用於

XmlDataContractSerializerOutputFormatter(ILoggerFactory)

來源:
XmlDataContractSerializerOutputFormatter.cs
來源:
XmlDataContractSerializerOutputFormatter.cs
來源:
XmlDataContractSerializerOutputFormatter.cs

使用預設 XmlWriterSettings 初始化 的新實例 XmlDataContractSerializerOutputFormatter

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)

參數

loggerFactory
ILoggerFactory

ILoggerFactory

適用於

XmlDataContractSerializerOutputFormatter(XmlWriterSettings)

來源:
XmlDataContractSerializerOutputFormatter.cs
來源:
XmlDataContractSerializerOutputFormatter.cs
來源:
XmlDataContractSerializerOutputFormatter.cs

初始化 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)

參數

writerSettings
XmlWriterSettings

要使用的 DataContractSerializer 設定。

適用於

XmlDataContractSerializerOutputFormatter(XmlWriterSettings, ILoggerFactory)

來源:
XmlDataContractSerializerOutputFormatter.cs
來源:
XmlDataContractSerializerOutputFormatter.cs
來源:
XmlDataContractSerializerOutputFormatter.cs

初始化 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)

參數

writerSettings
XmlWriterSettings

要使用的 DataContractSerializer 設定。

loggerFactory
ILoggerFactory

ILoggerFactory

適用於