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
name
Type: System.StringName of the template
description
Type: System.StringDescription for the template
metadata
Type: System.StringString containing any extra metadata associated with the template
zipContentStream
Type: System.IO.StreamZip archive stream containing the process template resources
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.