共用方式為


TeamFoundationProcessTemplateService Class

Service to manage process templates for a collection.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.TeamFoundationProcessTemplateService

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationSecurityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLockingService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationFileService))> _
Public Class TeamFoundationProcessTemplateService _
    Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationFileService))]
public class TeamFoundationProcessTemplateService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationFileService))]
public ref class TeamFoundationProcessTemplateService : ITeamFoundationService
[<TeamFoundationServiceDependency(typeof(TeamFoundationSecurityService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationFileService))>]
type TeamFoundationProcessTemplateService =  
    class 
        interface ITeamFoundationService 
    end
public class TeamFoundationProcessTemplateService implements ITeamFoundationService

The TeamFoundationProcessTemplateService type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationProcessTemplateService

Top

Methods

  Name Description
Public method AddProcessTemplateUsage It makes a process template available to the collection. When calling this method, the process template has to be already uploaded.
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 method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLatestProcessTemplateUsage
Public method GetProcessTemplate
Public method GetProcessTemplateDescriptor(TeamFoundationRequestContext, ProcessTemplateVersion)
Public method GetProcessTemplateDescriptor(TeamFoundationRequestContext, Guid, Int32, Int32)
Public method GetProcessTemplateDescriptor(TeamFoundationRequestContext, String, Int32, Int32)
Public method GetProcessTemplateUsage
Public method GetProcessTemplateUsages The method returns all the process templates available in this collection.
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 method RemoveAllProcessTemplateUsages
Public method RemoveProcessTemplateUsage
Public method ServiceEnd
Public method ServiceStart
Public method SetDefaultProcessTemplate
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UploadProcessTemplate Uploads a process template, but doesn't make it available to the collection. In order to make it available to the collection, a process template usage has to be inserted, by calling AddProcessTemplateUsage.

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.Server.Core Namespace