XmlSerializerInputFormatter 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
XmlSerializerInputFormatter() |
已过时.
初始化 XmlSerializerInputFormatter 的新实例。 |
XmlSerializerInputFormatter(MvcOptions) |
初始化 XmlSerializerInputFormatter 的新实例。 |
XmlSerializerInputFormatter(Boolean) |
已过时.
初始化 XmlSerializerInputFormatter 的新实例。 |
XmlSerializerInputFormatter()
注意
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)
初始化 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)
参数
- options
- MvcOptions
适用于
XmlSerializerInputFormatter(Boolean)
注意
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
用于在反序列化请求正文之前缓冲整个请求正文的标志。
- 属性