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
在還原序列化之前緩衝處理整個要求本文的旗標。
- 屬性