Language

Phase.CreateJob(PipelineExecutionContext, String) Method

Definition

Creates the specified job using the provided execution context and name.

public Microsoft.TeamFoundation.DistributedTask.Pipelines.Job CreateJob(Microsoft.TeamFoundation.DistributedTask.Pipelines.PipelineExecutionContext context, string name);
member this.CreateJob : Microsoft.TeamFoundation.DistributedTask.Pipelines.PipelineExecutionContext * string -> Microsoft.TeamFoundation.DistributedTask.Pipelines.Job
Public Function CreateJob (context As PipelineExecutionContext, name As String) As Job

Parameters

context
PipelineExecutionContext

The execution context

name
String

The name of the job which should be created

Returns

Job

A job instance if the specified name exists; otherwise, null

Applies to