AtomPub10ServiceDocumentFormatter Konstruktorów
Definicja
Ważny
Niektóre informacje dotyczą produktów przedpremierowych, które mogą zostać znacznie zmodyfikowane przed premierą. Microsoft nie udziela żadnych gwarancji, ani wyraźnych, ani domniemanych, dotyczących informacji podanych tutaj.
Tworzy nowe wystąpienie klasy opartej ServiceDocumentFormatter na atomie 1.0.
Przeciążenia
| Nazwa | Opis |
|---|---|
| AtomPub10ServiceDocumentFormatter() |
Tworzy nowe wystąpienie klasy opartej ServiceDocumentFormatter na atomie 1.0. |
| AtomPub10ServiceDocumentFormatter(ServiceDocument) |
Tworzy nowe wystąpienie klasy opartej ServiceDocumentFormatter na atomie 1.0 w celu serializacji określonego dokumentu usługi. |
| AtomPub10ServiceDocumentFormatter(Type) |
Tworzy nowe wystąpienie klasy opartej ServiceDocumentFormatter na atomie 1.0. |
AtomPub10ServiceDocumentFormatter()
Tworzy nowe wystąpienie klasy opartej ServiceDocumentFormatter na atomie 1.0.
public:
AtomPub10ServiceDocumentFormatter();
public AtomPub10ServiceDocumentFormatter();
Public Sub New ()
Dotyczy
AtomPub10ServiceDocumentFormatter(ServiceDocument)
Tworzy nowe wystąpienie klasy opartej ServiceDocumentFormatter na atomie 1.0 w celu serializacji określonego dokumentu usługi.
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)
Parametry
- documentToWrite
- ServiceDocument
Skojarzony ServiceDocument z formaterem Atom 1.0.
Wyjątki
documentToWrite to null.
Uwagi
Element documentToWrite można serializować do reprezentacji XML lub deserializować z reprezentacji XML przez formater przy użyciu formatów Atom 1.0.
Dotyczy
AtomPub10ServiceDocumentFormatter(Type)
Tworzy nowe wystąpienie klasy opartej ServiceDocumentFormatter na atomie 1.0.
public:
AtomPub10ServiceDocumentFormatter(Type ^ documentTypeToCreate);
public AtomPub10ServiceDocumentFormatter(Type documentTypeToCreate);
new System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter : Type -> System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter
Public Sub New (documentTypeToCreate As Type)
Parametry
- documentTypeToCreate
- Type
Wystąpienie obiektu pochodzącego z typu skojarzonego ServiceDocument z formaterem Atom 1.0.
Wyjątki
documentTypeToCreate to null.
documentTypeToCreate określona wartość jest nieprawidłowa.
Uwagi
Element documentTypeToCreate można serializować do reprezentacji XML lub deserializować z reprezentacji XML przez formater przy użyciu formatów Atom 1.0.