อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


ServiceDocumentFormatter Constructors

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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) และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.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) และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.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)