Share via


ProcessTemplate 建構函式

建立要加入至的新流程範本的伺服器物件。 流程範本在特定 zip 封存資料流會包含提供的資源

命名空間:  Microsoft.TeamFoundation.Server.Core
組件:  Microsoft.TeamFoundation.Server.Core (在 Microsoft.TeamFoundation.Server.Core.dll 中)

語法

'宣告
Public Sub New ( _
    name As String, _
    description As String, _
    metadata As String, _
    zipContentStream As Stream _
)
public ProcessTemplate(
    string name,
    string description,
    string metadata,
    Stream zipContentStream
)

參數

  • metadata
    類型:System.String
    字串包含任何額外的中繼資料與範本
  • zipContentStream
    類型:System.IO.Stream
    ZIP 包含流程範本資源的封存資料流

.NET Framework 安全性

請參閱

參考

ProcessTemplate 類別

Microsoft.TeamFoundation.Server.Core 命名空間