SerializedWorkspace Class

Note: This API is now obsolete.

This class is used to serialize a workspaces mapping to a file.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Build.Tasks.SerializedWorkspace

Namespace:  Microsoft.TeamFoundation.Build.Tasks
Assembly:  Microsoft.TeamFoundation.Build.ProcessComponents (in Microsoft.TeamFoundation.Build.ProcessComponents.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class has been deprecated. Please remove all references.")> _
Public Class SerializedWorkspace
[ObsoleteAttribute("This class has been deprecated. Please remove all references.")]
public class SerializedWorkspace
[ObsoleteAttribute(L"This class has been deprecated. Please remove all references.")]
public ref class SerializedWorkspace
[<ObsoleteAttribute("This class has been deprecated. Please remove all references.")>]
type SerializedWorkspace =  class end
public class SerializedWorkspace

The SerializedWorkspace type exposes the following members.

Constructors

  Name Description
Public method SerializedWorkspace

Top

Methods

  Name Description
Public methodStatic member Deserialize Obsolete. Creates a serialized workspace from a file previously created by using the Serialize method.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic member FindCommonServerPath Obsolete. Get the common minimum server path from the set of folder mappings.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member Serialize Obsolete. Used to serialize a workspace into a local XML file that can be used in the CreateWorkspace task for generating another workspace.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public field Mappings Obsolete. This is the set of mappings being used in this serialized workspace.

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.Build.Tasks Namespace