This documentation is archived and is not being maintained.
ServiceDocument Class
Visual Studio 2010
Represents a service document.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The ServiceDocument type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ServiceDocument() | Creates a new instance of the ServiceDocument class. |
![]() | ServiceDocument(IEnumerable<Workspace>) | Creates a new instance of the ServiceDocument class, initializing it with the specified collection of Workspace instances. |
| Name | Description | |
|---|---|---|
![]() | AttributeExtensions | Gets a collection of attribute extensions. |
![]() | BaseUri | Gets and sets the base URI for the ServiceDocument instance. |
![]() | ElementExtensions | Gets the element extensions for the service document. |
![]() | Language | Gets and sets the language of the service document. |
![]() | Workspaces | Gets a collection of workspaces contained within the service document. |
| Name | Description | |
|---|---|---|
![]() | CreateWorkspace | Creates a new Workspace instance. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetFormatter | Gets a AtomPub10ServiceDocumentFormatter instance. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Load(XmlReader) | Loads a service document from the specified XmlReader into a ServiceDocument instance. |
![]() ![]() | Load<TServiceDocument>(XmlReader) | Loads a service document from the specified XmlReader into a ServiceDocument derived instance. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Save | Saves the ServiceDocument instance to the specified XmlReader. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryParseAttribute | Attempts to parse an attribute extension. |
![]() | TryParseElement | Attempts to parse an element extension. |
![]() | WriteAttributeExtensions | Writes the attribute extensions to the specified XmlWriter using the specified syndication version. |
![]() | WriteElementExtensions | Writes the element extensions to the specified XmlWriter using the specified syndication version. |
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.
Show:
