Partager via


ProjectContext Class

Note: This API is now obsolete.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TeamFoundation.ProjectContext

Namespace:  Microsoft.VisualStudio.TeamFoundation
Assembly:  Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)

Syntax

'Declaration
<ObsoleteAttribute("Obsolete and will be removed in the subsequent release, use ITeamFoundationContext.")> _
Public NotInheritable Class ProjectContext _
    Implements IProjectContext
[ObsoleteAttribute("Obsolete and will be removed in the subsequent release, use ITeamFoundationContext.")]
public sealed class ProjectContext : IProjectContext
[ObsoleteAttribute(L"Obsolete and will be removed in the subsequent release, use ITeamFoundationContext.")]
public ref class ProjectContext sealed : IProjectContext
[<Sealed>]
[<ObsoleteAttribute("Obsolete and will be removed in the subsequent release, use ITeamFoundationContext.")>]
type ProjectContext =  
    class 
        interface IProjectContext 
    end
public final class ProjectContext implements IProjectContext

The ProjectContext type exposes the following members.

Constructors

  Name Description
Public method ProjectContext(String)
Public method ProjectContext(TeamFoundationServer, String, String) Obsolete.
Public method ProjectContext(TfsTeamProjectCollection, String, String)
Public method ProjectContext(String, String, String, String)

Top

Properties

  Name Description
Public property DomainName
Public property DomainUri
Public property ProjectName
Public property ProjectUri

Top

Methods

  Name Description
Public method Equals (Overrides Object.Equals(Object).)
Public method GetHashCode (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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.VisualStudio.TeamFoundation Namespace