Delen via


ProcessTemplate Constructor

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

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

Syntax

'Declaration
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
)
public:
ProcessTemplate(
    String^ name, 
    String^ description, 
    String^ metadata, 
    Stream^ zipContentStream
)
new : 
        name:string * 
        description:string * 
        metadata:string * 
        zipContentStream:Stream -> ProcessTemplate
public function ProcessTemplate(
    name : String, 
    description : String, 
    metadata : String, 
    zipContentStream : Stream
)

Parameters

  • metadata
    Type: System.String

    String containing any extra metadata associated with the template

  • zipContentStream
    Type: System.IO.Stream

    Zip archive stream containing the process template resources

.NET Framework Security

See Also

Reference

ProcessTemplate Class

Microsoft.TeamFoundation.Server.Core Namespace