表示在团队项目的过程模板。
继承层次结构
System.Object
Microsoft.TeamFoundation.Build.Server.ProcessTemplate
命名空间: Microsoft.TeamFoundation.Build.Server
程序集: Microsoft.TeamFoundation.Build.Server(在 Microsoft.TeamFoundation.Build.Server.dll 中)
语法
声明
<RequiredClientServiceAttribute("BuildServer")> _
<ClassVisibilityAttribute(ClientVisibility.Internal)> _
Public NotInheritable Class ProcessTemplate
[RequiredClientServiceAttribute("BuildServer")]
[ClassVisibilityAttribute(ClientVisibility.Internal)]
public sealed class ProcessTemplate
ProcessTemplate 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
ProcessTemplate |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
Description | 获取或设置说明。 |
![]() |
FileExists | 获取或设置一个文件是否存在版本控制的值。 |
![]() |
Id | 获取 ID。此字段为只读。 |
![]() |
Parameters | 获取或设置在过程定义中的参数。 |
![]() |
ServerPath | 获取或设置过程模板 XAML 文件的版本控制服务器位置。 |
![]() |
SupportedReasons | 获取或设置模板支持的原因。 |
![]() |
TeamProject | 获取或设置此模板所属的团队项目。 |
![]() |
TemplateType | 获取或设置此模板的类型。 |
![]() |
Version |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) |
![]() |
GetHashCode | 作为默认哈希函数。 (继承自 Object。) |
![]() ![]() |
GetProcessTemplateFromResources(String) | |
![]() ![]() |
GetProcessTemplateFromResources(Assembly, String) | |
![]() ![]() |
GetTemplate_AzureContinuousDeployment11 | |
![]() ![]() |
GetTemplate_DefaultTemplate11 | |
![]() ![]() |
GetTemplate_GitTemplate11 | |
![]() ![]() |
GetTemplate_GitTemplate12 | |
![]() ![]() |
GetTemplate_TfvcTemplate12 | |
![]() ![]() |
GetTemplate_UpgradeTemplate | |
![]() |
GetType | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
ToString | (重写 Object.ToString()。) |
![]() ![]() |
UpdateCachedProcessParametersForAllTemplates | 查看上载的文件并确定其是否在 tbl_BuildProcessTemplates 的文件。如果它是和 FileExists == 1 它使用 BuildService 进行更新。如果它在表和 FileExists == 0 中,它使用 BuildService 重新添加它。否则,将忽略它。注意:此方法调用插件和服务的步骤 |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。