ServiceDocument Class
Represents a service document.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| 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 the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() ![]() | 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() | |
![]() | Save(XmlWriter^) | Saves the ServiceDocument instance to the specified XmlReader. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | TryParseAttribute(String^, String^, String^, String^) | Attempts to parse an attribute extension. |
![]() | TryParseElement(XmlReader^, String^) | Attempts to parse an element extension. |
![]() | WriteAttributeExtensions(XmlWriter^, String^) | Writes the attribute extensions to the specified XmlWriter using the specified syndication version. |
![]() | WriteElementExtensions(XmlWriter^, String^) | Writes the element extensions to the specified XmlWriter using the specified syndication version. |
A service document is a document retrieved from a service that indicates the capabilities and locations of the available collections. A service document may contain one or more workspaces. Each workspace may contain one or more collections.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



