Skip to content

XmlContentSerializer(XmlContentSerializerSettings) constructor

Defined in

Type: XmlContentSerializer Namespace: Refit Assembly: Refit.Xml.dll

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-browserwasm1.0, net9.0-desktop1.0, net8.0, net8.0-ios17.5, net8.0-maccatalyst17.5, net8.0-macos14.2, net8.0-macos14.5, net8.0-tvos17.2, netstandard2.1, net462, net481, net471

Overloads

  • 1. public XmlContentSerializer(XmlContentSerializerSettings settings)
  • 2. public XmlContentSerializer()

1. Overload

public XmlContentSerializer(XmlContentSerializerSettings settings)

View source

Summary: Initializes a new instance of the XmlContentSerializer class.

Parameters

NameTypeDescription
settings[XmlContentSerializerSettings](#The settings.

Exceptions

TypeCondition
System.ArgumentNullExceptionsettings

2. Overload

public XmlContentSerializer()

View source

Summary: Initializes a new instance of the XmlContentSerializer class.