XmlDataContractSerializerInputFormatter 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
XmlDataContractSerializerInputFormatter()
注意
This constructor is obsolete and will be removed in a future version.
初始化 XmlDataContractSerializerInputFormatter 的新实例。
public:
XmlDataContractSerializerInputFormatter();
public XmlDataContractSerializerInputFormatter ();
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public XmlDataContractSerializerInputFormatter ();
Public Sub New ()
- 属性
适用于
XmlDataContractSerializerInputFormatter(MvcOptions)
初始化 XmlDataContractSerializerInputFormatter 的新实例。
public:
XmlDataContractSerializerInputFormatter(Microsoft::AspNetCore::Mvc::MvcOptions ^ options);
public XmlDataContractSerializerInputFormatter (Microsoft.AspNetCore.Mvc.MvcOptions options);
new Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerInputFormatter : Microsoft.AspNetCore.Mvc.MvcOptions -> Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerInputFormatter
Public Sub New (options As MvcOptions)
参数
- options
- MvcOptions
适用于
XmlDataContractSerializerInputFormatter(Boolean)
注意
This constructor is obsolete and will be removed in a future version.
初始化 XmlDataContractSerializerInputFormatter 的新实例。
public:
XmlDataContractSerializerInputFormatter(bool suppressInputFormatterBuffering);
public XmlDataContractSerializerInputFormatter (bool suppressInputFormatterBuffering);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public XmlDataContractSerializerInputFormatter (bool suppressInputFormatterBuffering);
new Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerInputFormatter : bool -> Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerInputFormatter
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerInputFormatter : bool -> Microsoft.AspNetCore.Mvc.Formatters.XmlDataContractSerializerInputFormatter
Public Sub New (suppressInputFormatterBuffering As Boolean)
参数
- suppressInputFormatterBuffering
- Boolean
用于在反序列化请求正文之前缓冲整个请求正文的标志。
- 属性