共用方式為


AtomPub10ServiceDocumentFormatter 建構函式

定義

建立 Atom 1.0 架構之 ServiceDocumentFormatter 類別的新執行個體。

多載

AtomPub10ServiceDocumentFormatter()

建立 Atom 1.0 架構之 ServiceDocumentFormatter 類別的新執行個體。

AtomPub10ServiceDocumentFormatter(ServiceDocument)

建立 Atom 1.0 架構之 ServiceDocumentFormatter 類別的新執行個體,以序列化指定的服務文件。

AtomPub10ServiceDocumentFormatter(Type)

建立 Atom 1.0 架構之 ServiceDocumentFormatter 類別的新執行個體。

AtomPub10ServiceDocumentFormatter()

來源:
AtomPub10ServiceDocumentFormatter.cs
來源:
AtomPub10ServiceDocumentFormatter.cs
來源:
AtomPub10ServiceDocumentFormatter.cs
來源:
AtomPub10ServiceDocumentFormatter.cs

建立 Atom 1.0 架構之 ServiceDocumentFormatter 類別的新執行個體。

public:
 AtomPub10ServiceDocumentFormatter();
public AtomPub10ServiceDocumentFormatter ();
Public Sub New ()

適用於

AtomPub10ServiceDocumentFormatter(ServiceDocument)

來源:
AtomPub10ServiceDocumentFormatter.cs
來源:
AtomPub10ServiceDocumentFormatter.cs
來源:
AtomPub10ServiceDocumentFormatter.cs
來源:
AtomPub10ServiceDocumentFormatter.cs

建立 Atom 1.0 架構之 ServiceDocumentFormatter 類別的新執行個體,以序列化指定的服務文件。

public:
 AtomPub10ServiceDocumentFormatter(System::ServiceModel::Syndication::ServiceDocument ^ documentToWrite);
public AtomPub10ServiceDocumentFormatter (System.ServiceModel.Syndication.ServiceDocument documentToWrite);
new System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter : System.ServiceModel.Syndication.ServiceDocument -> System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter
Public Sub New (documentToWrite As ServiceDocument)

參數

documentToWrite
ServiceDocument

與 Atom 1.0 格式子相關聯的 ServiceDocument

例外狀況

documentToWritenull

備註

透過使用 Atom 1.0 格式的格式子,documentToWrite 可序列化為 XML 表示或從 XML 表示還原序列化。

適用於

AtomPub10ServiceDocumentFormatter(Type)

來源:
AtomPub10ServiceDocumentFormatter.cs
來源:
AtomPub10ServiceDocumentFormatter.cs
來源:
AtomPub10ServiceDocumentFormatter.cs
來源:
AtomPub10ServiceDocumentFormatter.cs

建立 Atom 1.0 架構之 ServiceDocumentFormatter 類別的新執行個體。

public:
 AtomPub10ServiceDocumentFormatter(Type ^ documentTypeToCreate);
public AtomPub10ServiceDocumentFormatter (Type documentTypeToCreate);
new System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter : Type -> System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter
Public Sub New (documentTypeToCreate As Type)

參數

documentTypeToCreate
Type

從與 Atom 1.0 格式子相關聯之 ServiceDocument 型別所衍生物件的執行個體。

例外狀況

documentTypeToCreatenull

指定的 documentTypeToCreate 無效。

備註

透過使用 Atom 1.0 格式的格式子,documentTypeToCreate 可序列化為 XML 表示或從 XML 表示還原序列化。

適用於