XmlSerializerInputFormatter 构造函数

定义

重载

XmlSerializerInputFormatter()
已过时.

初始化 XmlSerializerInputFormatter 的新实例。

XmlSerializerInputFormatter(MvcOptions)

初始化 XmlSerializerInputFormatter 的新实例。

XmlSerializerInputFormatter(Boolean)
已过时.

初始化 XmlSerializerInputFormatter 的新实例。

XmlSerializerInputFormatter()

Source:
XmlSerializerInputFormatter.cs
Source:
XmlSerializerInputFormatter.cs

注意

This constructor is obsolete and will be removed in a future version.

初始化 XmlSerializerInputFormatter 的新实例。

public:
 XmlSerializerInputFormatter();
public XmlSerializerInputFormatter ();
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public XmlSerializerInputFormatter ();
Public Sub New ()
属性

适用于

XmlSerializerInputFormatter(MvcOptions)

Source:
XmlSerializerInputFormatter.cs
Source:
XmlSerializerInputFormatter.cs
Source:
XmlSerializerInputFormatter.cs

初始化 XmlSerializerInputFormatter 的新实例。

public:
 XmlSerializerInputFormatter(Microsoft::AspNetCore::Mvc::MvcOptions ^ options);
public XmlSerializerInputFormatter (Microsoft.AspNetCore.Mvc.MvcOptions options);
new Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerInputFormatter : Microsoft.AspNetCore.Mvc.MvcOptions -> Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerInputFormatter
Public Sub New (options As MvcOptions)

参数

适用于

XmlSerializerInputFormatter(Boolean)

Source:
XmlSerializerInputFormatter.cs
Source:
XmlSerializerInputFormatter.cs

注意

This constructor is obsolete and will be removed in a future version.

初始化 XmlSerializerInputFormatter 的新实例。

public:
 XmlSerializerInputFormatter(bool suppressInputFormatterBuffering);
public XmlSerializerInputFormatter (bool suppressInputFormatterBuffering);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public XmlSerializerInputFormatter (bool suppressInputFormatterBuffering);
new Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerInputFormatter : bool -> Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerInputFormatter
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerInputFormatter : bool -> Microsoft.AspNetCore.Mvc.Formatters.XmlSerializerInputFormatter
Public Sub New (suppressInputFormatterBuffering As Boolean)

参数

suppressInputFormatterBuffering
Boolean

用于在反序列化请求正文之前缓冲整个请求正文的标志。

属性

适用于