Читати англійською Редагувати

Поділитися через


SoapReflectionImporter Constructors

Definition

Initializes a new instance of the SoapReflectionImporter class.

Overloads

SoapReflectionImporter()

Initializes a new instance of the SoapReflectionImporter class.

SoapReflectionImporter(String)

Initializes a new instance of the SoapReflectionImporter class, specifying a default XML namespace for imported type mappings.

SoapReflectionImporter(SoapAttributeOverrides)

Initializes a new instance of the SoapReflectionImporter class, specifying overrides for XML serialization.

SoapReflectionImporter(SoapAttributeOverrides, String)

Initializes a new instance of the SoapReflectionImporter class, specifying XML serialization overrides and a default XML namespace.

SoapReflectionImporter()

Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs

Initializes a new instance of the SoapReflectionImporter class.

C#
public SoapReflectionImporter();

Applies to

.NET 10 та інші версії
Продукт Версії
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

SoapReflectionImporter(String)

Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs

Initializes a new instance of the SoapReflectionImporter class, specifying a default XML namespace for imported type mappings.

C#
public SoapReflectionImporter(string? defaultNamespace);
C#
public SoapReflectionImporter(string defaultNamespace);

Parameters

defaultNamespace
String

The default XML namespace to use for imported type mappings.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

SoapReflectionImporter(SoapAttributeOverrides)

Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs

Initializes a new instance of the SoapReflectionImporter class, specifying overrides for XML serialization.

C#
public SoapReflectionImporter(System.Xml.Serialization.SoapAttributeOverrides? attributeOverrides);
C#
public SoapReflectionImporter(System.Xml.Serialization.SoapAttributeOverrides attributeOverrides);

Parameters

attributeOverrides
SoapAttributeOverrides

A SoapAttributeOverrides object that overrides how the XmlSerializer class serializes mapped types using SOAP encoding.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

SoapReflectionImporter(SoapAttributeOverrides, String)

Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs
Source:
SoapReflectionImporter.cs

Initializes a new instance of the SoapReflectionImporter class, specifying XML serialization overrides and a default XML namespace.

C#
public SoapReflectionImporter(System.Xml.Serialization.SoapAttributeOverrides? attributeOverrides, string? defaultNamespace);
C#
public SoapReflectionImporter(System.Xml.Serialization.SoapAttributeOverrides attributeOverrides, string defaultNamespace);

Parameters

attributeOverrides
SoapAttributeOverrides

A SoapAttributeOverrides object that overrides how the XmlSerializer class serializes mapped types using SOAP encoding.

defaultNamespace
String

The default XML namespace to use for imported type mappings.

Applies to

.NET 10 та інші версії
Продукт Версії
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1