ProcessTemplate Class
Represents a process template in a team project.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Build.Server.ProcessTemplate
Namespace: Microsoft.TeamFoundation.Build.Server
Assembly: Microsoft.TeamFoundation.Build.Server (in Microsoft.TeamFoundation.Build.Server.dll)
Syntax
'Declaration
<RequiredClientServiceAttribute("BuildServer")> _
<ClassVisibilityAttribute(ClientVisibility.Internal)> _
Public NotInheritable Class ProcessTemplate
[RequiredClientServiceAttribute("BuildServer")]
[ClassVisibilityAttribute(ClientVisibility.Internal)]
public sealed class ProcessTemplate
[RequiredClientServiceAttribute(L"BuildServer")]
[ClassVisibilityAttribute(ClientVisibility::Internal)]
public ref class ProcessTemplate sealed
[<Sealed>]
[<RequiredClientServiceAttribute("BuildServer")>]
[<ClassVisibilityAttribute(ClientVisibility.Internal)>]
type ProcessTemplate = class end
public final class ProcessTemplate
The ProcessTemplate type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ProcessTemplate |
Top
Properties
Name | Description | |
---|---|---|
Description | Gets or sets the description. | |
FileExists | Gets or sets a value indicating the existence of the file in version control. | |
Id | Gets the ID. This field is read only. | |
Parameters | Gets or sets the parameters defined in the process. | |
ServerPath | Gets or sets the version control server location of the process template XAML file. | |
SupportedReasons | Gets or sets the reasons that the template supports. | |
TeamProject | Gets or sets the team project to which this template belongs. | |
TemplateType | Gets or sets the type of this template. | |
Version |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetProcessTemplateFromResources(String) | ||
GetProcessTemplateFromResources(Assembly, String) | ||
GetTemplate_AzureContinuousDeployment11 | ||
GetTemplate_DefaultTemplate11 | ||
GetTemplate_GitTemplate11 | ||
GetTemplate_GitTemplate12 | ||
GetTemplate_TfvcTemplate12 | ||
GetTemplate_UpgradeTemplate | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | (Overrides Object.ToString().) | |
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 |
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.