Share via


XmlSerializerInputFormatter Constructors

Definition

Overloads

XmlSerializerInputFormatter()
Obsolete.

Initializes a new instance of XmlSerializerInputFormatter.

XmlSerializerInputFormatter(MvcOptions)

Initializes a new instance of XmlSerializerInputFormatter.

XmlSerializerInputFormatter(Boolean)
Obsolete.

Initializes a new instance of XmlSerializerInputFormatter.

XmlSerializerInputFormatter()

Source:
XmlSerializerInputFormatter.cs
Source:
XmlSerializerInputFormatter.cs

Caution

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

Initializes a new instance of XmlSerializerInputFormatter.

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

Applies to

XmlSerializerInputFormatter(MvcOptions)

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

Initializes a new instance of 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)

Parameters

options
MvcOptions

The MvcOptions.

Applies to

XmlSerializerInputFormatter(Boolean)

Source:
XmlSerializerInputFormatter.cs
Source:
XmlSerializerInputFormatter.cs

Caution

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

Initializes a new instance of 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)

Parameters

suppressInputFormatterBuffering
Boolean

Flag to buffer entire request body before deserializing it.

Attributes

Applies to