Edit

Share via


AtomPub10ServiceDocumentFormatter<TServiceDocument> Constructors

Definition

Creates a new instance of the Atom 1.0-based ServiceDocumentFormatter class.

Overloads

AtomPub10ServiceDocumentFormatter<TServiceDocument>()

Creates a new instance of the ServiceDocumentFormatter class.

AtomPub10ServiceDocumentFormatter<TServiceDocument>(TServiceDocument)

Creates a new instance of the Atom 1.0-based ServiceDocumentFormatter class.

AtomPub10ServiceDocumentFormatter<TServiceDocument>()

Source:
AtomPub10ServiceDocumentFormatter.cs
Source:
AtomPub10ServiceDocumentFormatter.cs
Source:
AtomPub10ServiceDocumentFormatter.cs
Source:
AtomPub10ServiceDocumentFormatter.cs

Creates a new instance of the ServiceDocumentFormatter class.

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

Applies to

AtomPub10ServiceDocumentFormatter<TServiceDocument>(TServiceDocument)

Source:
AtomPub10ServiceDocumentFormatter.cs
Source:
AtomPub10ServiceDocumentFormatter.cs
Source:
AtomPub10ServiceDocumentFormatter.cs
Source:
AtomPub10ServiceDocumentFormatter.cs

Creates a new instance of the Atom 1.0-based ServiceDocumentFormatter class.

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)

Parameters

documentToWrite
TServiceDocument

The ServiceDocument associated with the Atom 1.0 formatter.

Exceptions

documentToWrite is null.

Remarks

The documentToWrite can be serialized to an XML representation or deserialized from an XML representation by the formatter using Atom 1.0 formats.

Applies to