ProcessTemplate Class

Represents a process template in a team project.

Inheritance Hierarchy


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


<RequiredClientServiceAttribute("BuildServer")> _
<ClassVisibilityAttribute(ClientVisibility.Internal)> _
Public NotInheritable Class ProcessTemplate
public sealed class ProcessTemplate
public ref class ProcessTemplate sealed
type ProcessTemplate =  class end
public final class ProcessTemplate

The ProcessTemplate type exposes the following members.


Name Description
Public method ProcessTemplate



Name Description
Public property Description Gets or sets the description.
Public property FileExists Gets or sets a value indicating the existence of the file in version control.
Public property Id Gets the ID. This field is read only.
Public property Parameters Gets or sets the parameters defined in the process.
Public property ServerPath Gets or sets the version control server location of the process template XAML file.
Public property SupportedReasons Gets or sets the reasons that the template supports.
Public property TeamProject Gets or sets the team project to which this template belongs.
Public property TemplateType Gets or sets the type of this template.
Public property Version



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 methodStatic member GetProcessTemplateFromResources(String)
Public methodStatic member GetProcessTemplateFromResources(Assembly, String)
Public methodStatic member GetTemplate_AzureContinuousDeployment11
Public methodStatic member GetTemplate_DefaultTemplate11
Public methodStatic member GetTemplate_GitTemplate11
Public methodStatic member GetTemplate_GitTemplate12
Public methodStatic member GetTemplate_TfvcTemplate12
Public methodStatic member GetTemplate_UpgradeTemplate
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)
Public methodStatic member UpdateCachedProcessParametersForAllTemplates Looks at the file that was uploaded and determines if it is a file in tbl_BuildProcessTemplates. If it is, and FileExists == 1 it uses the BuildService to update it. If it is in the table and FileExists == 0, it uses the BuildService to re-add it. Otherwise, it ignores it. Note: this method is called by the plugin and by servicing steps


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


Microsoft.TeamFoundation.Build.Server Namespace