ServiceDocumentFormatter Constructors

Definition

Creates a new instance of the ServiceDocumentFormatter class.

Overloads

ServiceDocumentFormatter()

Creates a new instance of the ServiceDocumentFormatter class.

ServiceDocumentFormatter(ServiceDocument)

Creates a new instance of the ServiceDocumentFormatter class.

ServiceDocumentFormatter()

Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs

Creates a new instance of the ServiceDocumentFormatter class.

C#
protected ServiceDocumentFormatter();

Applies to

.NET 10 (package-provided) i druge verzije
Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 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 (package-provided)

ServiceDocumentFormatter(ServiceDocument)

Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs
Source:
ServiceDocumentFormatter.cs

Creates a new instance of the ServiceDocumentFormatter class.

C#
protected ServiceDocumentFormatter(System.ServiceModel.Syndication.ServiceDocument documentToWrite);

Parameters

documentToWrite
ServiceDocument

The ServiceDocument to serialize.

Applies to

.NET 10 (package-provided) i druge verzije
Proizvod Verzije
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 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 (package-provided)