AtomPub10ServiceDocumentFormatter<TServiceDocument> 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 na ServiceDocumentFormatter atomie 1.0.
Przeciążenia
| Nazwa | Opis |
|---|---|
| AtomPub10ServiceDocumentFormatter<TServiceDocument>() |
Tworzy nowe wystąpienie klasy ServiceDocumentFormatter. |
| AtomPub10ServiceDocumentFormatter<TServiceDocument>(TServiceDocument) |
Tworzy nowe wystąpienie klasy opartej na ServiceDocumentFormatter atomie 1.0. |
AtomPub10ServiceDocumentFormatter<TServiceDocument>()
Tworzy nowe wystąpienie klasy ServiceDocumentFormatter.
public:
AtomPub10ServiceDocumentFormatter();
public AtomPub10ServiceDocumentFormatter();
Public Sub New ()
Dotyczy
AtomPub10ServiceDocumentFormatter<TServiceDocument>(TServiceDocument)
Tworzy nowe wystąpienie klasy opartej na ServiceDocumentFormatter atomie 1.0.
public:
AtomPub10ServiceDocumentFormatter(TServiceDocument documentToWrite);
public AtomPub10ServiceDocumentFormatter(TServiceDocument documentToWrite);
new System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter<'ServiceDocument (requires 'ServiceDocument :> System.ServiceModel.Syndication.ServiceDocument and 'ServiceDocument : (new : unit -> 'ServiceDocument))> : 'ServiceDocument -> System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter<'ServiceDocument (requires 'ServiceDocument :> System.ServiceModel.Syndication.ServiceDocument and 'ServiceDocument : (new : unit -> 'ServiceDocument))>
Public Sub New (documentToWrite As TServiceDocument)
Parametry
- documentToWrite
- TServiceDocument
Skojarzony ServiceDocument z formaterem Atom 1.0.
Wyjątki
documentToWrite to null.
Uwagi
Można documentToWrite je serializować do reprezentacji XML lub deserializacji z reprezentacji XML przez formater przy użyciu formatów Atom 1.0.