AtomPub10ServiceDocumentFormatter Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Tworzy nowe wystąpienie klasy opartej ServiceDocumentFormatter na atomie 1.0.
Przeciążenia
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.