Partager via


ProcessTemplate Class

A Process Template has metadata (Name, Description, etc.) and also contains hierarchical named resources used during project creation A process template is uploaded and downloaded from the server as a Zip archive containing the hierarchical named resource files, but on the server these can be accessed individually through the GetResource() API on this class.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.ProcessTemplate

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

Syntax

'Declaration
Public NotInheritable Class ProcessTemplate _
    Implements IProcessTemplate
public sealed class ProcessTemplate : IProcessTemplate
public ref class ProcessTemplate sealed : IProcessTemplate
[<Sealed>]
type ProcessTemplate =  
    class 
        interface IProcessTemplate 
    end
public final class ProcessTemplate implements IProcessTemplate

The ProcessTemplate type exposes the following members.

Constructors

  Name Description
Public method ProcessTemplate Create a new process template object to add to the server. The process template will contain resources provided in the given Zip archive stream

Top

Properties

  Name Description
Public property Description A description of the template
Public property Metadata Extra metadata associated with the template
Public property Name The template name (e.g. "MSF for Agile Software Development v6.0")
Public property Version Process Template Version

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetResource(String) Gets a resource with the given name from inside the process template
Public method GetResource(String, array<Byte[]%, Int64%) Gets a resource with the given name from inside the process template
Public method GetResourceNames Get the resources names that are contained in the process template
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.TeamFoundation.Server.Core Namespace