Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ServiceDocumentFormatter Class

An abstract class used as a base class for other formatters, such as AtomPub10ServiceDocumentFormatter.

System.Object
  System.ServiceModel.Syndication.ServiceDocumentFormatter
    System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter

Namespace:  System.ServiceModel.Syndication
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[DataContractAttribute]
public abstract class ServiceDocumentFormatter

The ServiceDocumentFormatter type exposes the following members.

  NameDescription
Protected methodServiceDocumentFormatter()Creates a new instance of the ServiceDocumentFormatter class.
Protected methodServiceDocumentFormatter(ServiceDocument)Creates a new instance of the ServiceDocumentFormatter class.
Top

  NameDescription
Public propertyDocumentGets the ServiceDocument associated with the formatter.
Public propertyVersionGets the version of the formatter.
Top

  NameDescription
Public methodCanReadVerifies whether the specified XmlReader contains a valid service document.
Protected methodStatic memberCreateCategoryCreates a new instance of the SyndicationCategory class.
Protected methodStatic memberCreateCollectionCreates a new ResourceCollectionInfo instance.
Protected methodCreateDocumentInstanceCreates a new ServiceDocument instance.
Protected methodStatic memberCreateInlineCategoriesCreates a new InlineCategoriesDocument.
Protected methodStatic memberCreateReferencedCategoriesCreates a new ReferencedCategoriesDocument.
Protected methodStatic memberCreateWorkspaceCreates a new Workspace
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodStatic memberLoadElementExtensions(XmlReader, CategoriesDocument, Int32)Loads element extensions.
Protected methodStatic memberLoadElementExtensions(XmlReader, ResourceCollectionInfo, Int32)Loads element extensions.
Protected methodStatic memberLoadElementExtensions(XmlReader, ServiceDocument, Int32)Loads element extensions.
Protected methodStatic memberLoadElementExtensions(XmlReader, Workspace, Int32)Loads element extensions.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodReadFromReads a service document from the specified XmlReader.
Protected methodSetDocumentSets the ServiceDocument to write.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Protected methodStatic memberTryParseAttribute(String, String, String, CategoriesDocument, String)Attempts to parse an attribute extension.
Protected methodStatic memberTryParseAttribute(String, String, String, ResourceCollectionInfo, String)Attempts to parse an attribute extension.
Protected methodStatic memberTryParseAttribute(String, String, String, ServiceDocument, String)Attempts to parse an attribute extensions.
Protected methodStatic memberTryParseAttribute(String, String, String, Workspace, String)Attempts to parse an attribute extension
Protected methodStatic memberTryParseElement(XmlReader, CategoriesDocument, String)Attempts to parse an element extension.
Protected methodStatic memberTryParseElement(XmlReader, ResourceCollectionInfo, String)Attempts to parse an element extension.
Protected methodStatic memberTryParseElement(XmlReader, ServiceDocument, String)Attempts to parse an element extension.
Protected methodStatic memberTryParseElement(XmlReader, Workspace, String)Attempts to parse an element extension.
Protected methodStatic memberWriteAttributeExtensions(XmlWriter, CategoriesDocument, String)Writes attribute extensions.
Protected methodStatic memberWriteAttributeExtensions(XmlWriter, ResourceCollectionInfo, String)Writes attribute extensions.
Protected methodStatic memberWriteAttributeExtensions(XmlWriter, ServiceDocument, String)Writes attribute extensions.
Protected methodStatic memberWriteAttributeExtensions(XmlWriter, Workspace, String)Writes attribute extensions.
Protected methodStatic memberWriteElementExtensions(XmlWriter, CategoriesDocument, String)Writes element extensions.
Protected methodStatic memberWriteElementExtensions(XmlWriter, ResourceCollectionInfo, String)Writes element extensions.
Protected methodStatic memberWriteElementExtensions(XmlWriter, ServiceDocument, String)Writes element extensions.
Protected methodStatic memberWriteElementExtensions(XmlWriter, Workspace, String)Writes element extensions.
Public methodWriteToWrites a service document to the specified XmlWriter.
Top

This class is abstract and cannot be instantiated directly.

.NET Framework

Supported in: 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2015 Microsoft